CMS Development

Anonymous
Non applicable

Cannot change color of submit button with CSS on HubSpot form

Résolue

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 Votes
1 Solution acceptée
Brownstephen101
Solution
Contributeur de premier rang | Partenaire solutions Elite
Contributeur de premier rang | Partenaire solutions Elite

Cannot change color of submit button with CSS on HubSpot form

Résolue

@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

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
Brownstephen101
Solution
Contributeur de premier rang | Partenaire solutions Elite
Contributeur de premier rang | Partenaire solutions Elite

Cannot change color of submit button with CSS on HubSpot form

Résolue

@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 Votes