Okay
  Public Ticket #142808
Make buttons open in new window?
Closed

Comments

  • Jenay started the conversation
    Is there a way to make the buttons open in a new window as opposed to the same one?
  •  1,070
    ThemeNectar replied

    Hey Jenay,

    there's an option in the button shortcode to "Open Link In New Tab" you can check to accomplish this :)

    Cheers

  • [deleted] replied

    Hi :)

    Is there an option for the navigation menu to open up in a new window?

    k

  •  1,070
    ThemeNectar replied

    Hey Katya,

    there's not - that would require you to add a manual list item into the header.php file and ensure that the attribute

    target="_blank"

    is on your link. So it would look like:

    <li><a href="http://themenectar.com" target="_blank"> A Link! </a></li>

    and that would go right before this line in that file:

    <li id="search-btn"><div><a href=""><span class="icon-salient-search" aria-hidden="true"></span></a></div></li>

    Cheers :)

  • Justin replied

    I'd like to also add a menu item that opens in a new page. I am able to do it for a Main menu item using above code. However, I am not sure how to do it for a submenu item.
    I want to make the Company ---> Careers & Jobs item open in a new tab. See:

    dev2.contentguard.com/wordpress/home


    Thanks for your help!

  •  8,839
    Tahir replied

    Hey Justin!

    Seems like you got it sorted. For anyone facing a similar issue see screenshot: http://prntscr.com/3djcwy .

    Cheers


    ThemeNectar Support Team