CMS Development

Anonymous
Not applicable

Cannot change color of submit button with CSS on HubSpot form

SOLVE

Hello,

 

I am trying to change the styles of the submit button with CSS on the "Get in touch" hubspot contact form. Here is a link to the staging website. When I change the styles in google chrome, it works. However, when I add the CSS to elementor, it doesn't work. Any advice? I feel like I've tried everything. 

0 Upvotes
1 Accepted solution
Brownstephen101
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Cannot change color of submit button with CSS on HubSpot form

SOLVE

@Anonymous This is because the form comes in an iframe by default, you will want to update your form to be "Set as raw HTML form" in hubspot.

Marketing>Lead Capture>Forms>[Your Form]>Style & Preview> and in the left hand side your will see the "Set as raw HTML form" Checkbox. That needs to be selected.

raw-html.png

View solution in original post

0 Upvotes
1 Reply 1
Brownstephen101
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Cannot change color of submit button with CSS on HubSpot form

SOLVE

@Anonymous This is because the form comes in an iframe by default, you will want to update your form to be "Set as raw HTML form" in hubspot.

Marketing>Lead Capture>Forms>[Your Form]>Style & Preview> and in the left hand side your will see the "Set as raw HTML form" Checkbox. That needs to be selected.

raw-html.png

0 Upvotes