Unable to use a javascript function on a css button.
I would love to be able to make the “book yoru appointment now” button located on the bottom of each page automatically pull the javascript, thus allowing the user to schedule an appointment using setmore.com
Here is the code provided, but it has it’s own button, but instead I want to use the one I designed.
I have inserted the “script” only portion into the custom code section but I do not know where to go from there… :< please help.
No. There are instructions in that link above, however those are for using setmore.com’s button. I would like to use the button I created in webflow(the css/pink one).
For me when i click the pink button you created it takes me to: Book Your Appointment with Love Bridal Boutique if im right thats what you wanted it do?. if not what do you want so i can help you
Hi @904TECHNOLOGY, I wanted to comment, the button that is being generated by the setmore.com service, is having styles applied to the button from the setmore code automatically, each time the button is generated.
What you will probably need to do, is to add some custom css overrides to the head of the site, to style the classes that are generated automatically by the button code, to match the styles of the pink button.
I would do the following:
Identify the classes that are being generated by the setmore button. You can do this by looking at the published page with the default button and inspecting the button element in Chrome and noting the class names used.
identify the styles used for the pink button you created in Webflow
Create custom styles using css for the styles coming from setmore.com for the button, and set those styles to match the pink button you created in Webflow.
Add the custom styles to the head of your site. Those style overrides will not appear in the designer, only after site publish.
I hope this helps to put you in the right direction. This is not super straightforward, since setmore.com does not have an easy way to change the button appearance without using some custom code on your Webflow site.