Menu financial style

Hello!

In the menu I have the option “Call to action text” and “Call to action URL”. I would like that this button in my side opens a new tap or window with the URL configured in “Call to action URL” How can I do this.

Thanks a lot
Robert

Hello Robert,

I would be glad to help you, but can you please provide a link to your website first?

Kind Regards, Roman.
aThemes Support

Hello Roman,

here the link to my website.

Regards,
Robert

Hello Robert, thank you for the link.

I suppose that you mean the Tienda en línea button in the top right corner. If yes, then you can try to do this with jQuery.

  1. Install and activate Insert Headers and Footers plugin that will allow you to insert JS (jQuery) code.

  2. Go to Settings → Insert Headers and Footers section, add the following code to Scripts in Header field, and click Save button.

<script>
    jQuery(document).ready(function(){
        jQuery('.top-bar .header-cta .button').attr('target', '_blank');
    });
</script>

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.
aThemes Support

Hi Roman,

thank you very much! It works fine!

Kind regards,
Robert

Great, you are welcome Robert!

Kind Regards, Roman.
aThemes Support