Skip to main content
Laurenseife
Aug 19, 2025 3:48 PM UTC
Solved

Custom Code Header

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>

 

    FMEEvangelist
    Helper ⭐️⭐️
    Aug 19, 2025 5:12 PM UTC

    If you just remove the

    target="_blank"

    part, it should just open in the same tab.

    Ask me about all things spatial!

    2 replies

    FMEEvangelist
    Helper ⭐️⭐️
    Aug 19, 2025 5:12 PM UTC

    If you just remove the

    target="_blank"

    part, it should just open in the same tab.

    Translate
    Ask me about all things spatial!
    Laurenseife
    Aug 19, 2025 5:45 PM UTC

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

    Translate