Hello,
I would like to add JS to an existing theme button. As you can see on my website i have now two buttons. The small one is working, but the big one is not. I would like to make the big button work the same way, so i can delete the small one.
Thank you in advance!
Hi Sasolini!
Thank you for coming back.
This is not possible out of the box, because the button is a
<a href ...>
You need to modify
\enfold\config-templatebuilder\avia-shortcodes\buttons.php line 276ff.
Add a unique custom class to the button and add an on_click event with jQuery to that class.
Best regards,
Günter