Open the link of Slider in a New Tab

Hi,

Can you help please? I need to open the link in a new tab after clicking the Button of Slider. Can you advise in which format I must write the link in Button URL field?

Thank you,

Vladimir

Hi,

There is no option to make the button to open in a new tab. But you can try this simple trick:

  1. Install javascript plugin. such as: https://wordpress.org/plugins/tc-custom-javascript/
  2. Add this script within the plugin:
jQuery('.header-button a').attr('target', '_blank')

Hi Awan,

Thank you very much for your help. Works great.

Have a nice day,

Vladimir

1 Like