Support » Theme: Virtue » How to open topbar links in a new window

  • Resolved RuudEngels

    (@ruudengels)


    Hello,

    I would like to know how I can open links in the topbar in a new window.
    I tried to changed the code in the header.php with the code target=”_blank on several places, but it won’t work.

    Hopefully someone can help me.
    Thanks a lot.

    With kind regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Kadence Themes

    (@britner)

    Which links? are you talking about the topbar menu? You can do that in the menus page. When you are setting up your topbar menu just click the screen options in the top right corner then make sure target is checked, then each menu item will have the option to open in a new tab.

    Kadence Themes

    Hi, I have been having the same issue with my topbar icon links. These are edited from the topbar settings in the theme options, so there are no screen options where I can make sure target is checked. How can I make my topbar icon links open in a new tab?

    Theme Author Kadence Themes

    (@britner)

    There is a little workaround for the topbar icon links, when you add your link into the box at the end add this:

    " target="_blank

    Kadence Themes

    Thank you! That worked beautifully

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to open topbar links in a new window’ is closed to new replies.