CMS Development

Robertan
Member

change color Submit Button

Hi,

 

I need to change the color of the submit button with CSS.

 

The html of the submit button is:

<input type="submit" value="Submit" class="hs-button primary large" data-reactid=".hbspt-forms-0.3.1.0">

 

I tired to use:

input [type"sumit"] {color:purple;}

 

#submit {color:purple;}

 

#Submit {color: purple;}

 

.hs-primary.button.large {color:purple;}

 

However, they do not work. Is there someone who has the solution?

 

0 Upvotes
2 Replies 2
TRooInbound
Key Advisor

change color Submit Button

Hi,

@Anonymous Thanks for supporting us!

 

Yes, definitely we can help with this. @Robertan

I've read the CSS syntax and found there is some error.

 

Please replace code with below CSS code,

input [type = "submit"] {
    color: red;
}

 if above code not working then please provide page URL.

 

Thanks,

Team TRooInbound

 

 

0 Upvotes
Anonymous
Not applicable

change color Submit Button

Hey @Robertan can you share a linke to the live and/or preview page where this form is? I'm not entirely sure how to help here but I know @TRooInbound has a lot of expertise to share. 

0 Upvotes