Skip to main content

I currently have a code for a custom code header (here was my original question that Community helped me think through) that currently opens all links in a NEW tab. 

 

I’m asking if you folks know how to make ONE of those links open in the same tab. I have zero experience in coding, so I apologize for the junior question. 

 

If it helps, this is the code I have now:

  <div class="custom-header-logo-text"></div>
  </aside>

  <!-- <article></article> -->

  <aside class="sidebar-right">
    <ul class="custom-header">
      <li><a href="URL" target=“_blank”>Nameofpage1</a></li>

      <li><a href="URL" target=“_blank”>Nameofpage2</a></li>

      <li><a href="URL" target=“_blank”>Nameofpage3</a></li>

      <li><a href="URL" target=“_blank”>Nameofpage4</a></li>
    </ul>
  </aside>
</div>

 

If you just remove the

target="_blank"

part, it should just open in the same tab.


YAY, It worked!!!! Thanks for sharing your knowledge!