Adding Script to a button

Hi guys!
I’m trying to figure out how to add script to a button. Embedding it doesn’t really work well, and I would really like to have it also within my design style.

Here is the script for the button:

<link href="//events.genndi.com/assets/css/register_button.css" rel="stylesheet"><div style="margin:auto;width:300px;"><div class="embedded-joinwebinar-button"><button type="button" class="btn btn-default css3button" title="regpopbox_169105139238460173_3eaf67350d"><span>Register now</span></button></div></div><script src="//events.genndi.com/register.evergreen.extra.js" language="javascript" type="text/javascript" async></script><img src="//events.genndi.com/tracker?action=registration-evergreen&webicode=3eaf67350d&version=&memberid=169105139238460173" style="visibility:hidden; height:0px; width:0px; border:none;">

And this is the page I want to put this on in a button created through Pro.
www.workshopsbyfabi.com

Can you help?

Hi there,

Please try adding the code in a Raw content element in Pro builder.

Let us know how it goes.

Hi!
yes, when i add the code it works, but what I want to do is not add it that way, I want to create a button within Pro that points to the same location/opens the same window. I would rather do this because sometimes that button doesn’t work with Wordpress.
Does that make sense?
Thank you!

Hi again,

You can add the button via Pro and add all the required attributes in the fields for example class, URL etc. That probably might not work because your button is totally a custom button. I’d suggest you to stick with the Raw content solution.

Hope this helps!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.