CMS Development

Anonymous
No aplicable

Cannot change color of submit button with CSS on HubSpot form

resolver

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 Me gusta
1 Soluciones aceptada
Brownstephen101
Solución
Colaborador líder | Partner nivel Elite
Colaborador líder | Partner nivel Elite

Cannot change color of submit button with CSS on HubSpot form

resolver

@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

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
Brownstephen101
Solución
Colaborador líder | Partner nivel Elite
Colaborador líder | Partner nivel Elite

Cannot change color of submit button with CSS on HubSpot form

resolver

@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 Me gusta