Viewing 5 replies - 1 through 5 (of 5 total)
  • Thats a feature I will have to add in, great request, I’ll look into it.

    For now you can just add the code in like this:

    <a href="http://google.com" target="_blank" class="kad-btn kad-btn-primary">Button Text</a>

    Kadence Themes

    Thread Starter nonesuch

    (@nonesuch)

    Works great. Thank you!

    Hello, thanks for the code but where do I have to put it?
    I am trying to make the icon in the home page open in another window but if I put this code in the “Icon Link” of the icon it does not work.
    Many thanks for your help.

    Thread Starter nonesuch

    (@nonesuch)

    If you want the button to open a new window you can’t use the button shortcode. You have to use the following HTML:

    <a href="http://google.com" target="_blank" class="kad-btn kad-btn-primary">Button Text</a>

    So if your button is for linking to say the website of Chelsea Wine Vault then it would be like this:

    <a href="http://www.chelseawinevault.com/" target="_blank" class="kad-btn kad-btn-primary">Shop For Wine</a>

    This takes your normal button text and applies the class “kad-btn kad-btn-primary” to it, which makes it look like the Virtue button but then the target=”_blank” makes it open a new window.

    Many thanks for your answer.
    I have tried again to put the HTML code in the Icon link (Gallery) but it does not work.
    It comes out the icon with this digit on the top (” title=”Gallery”>), the only clickable thing is the title, it opens in another page but it does not bring me in the page I want, it brings me at this page (http://www.surfingtheplanet.com/%3Ca%20href=) that does not exist.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘virtue button open a new window’ is closed to new replies.