Streaming live at 10am (PST)

JS script inside a button

Hi everyone,

I’m using Gumroad for a client project.

What I want to do, is to insert, inside a button that I can customize, the code that you can see on the screen capture below:

I know how to embed classic code.
But this time, I want to be able to customize the button (instead of using the Gumroad button design).

Is there a way to do that in Webflow?

Thanks a lot!

if I understood correctly, you can create a button in Webflow add a class and customize the appearance. Then you can delete the custom button and create the embedded button and give it the class of the custom button you’ve created.

important: beware of spaces and capital letters in your class name, webflow converts it into lowercase and dashes.

Example: This is My Button gets transformed into this-is-my-button

Perfect, It’s working well, thanks!