Jump to content

Customized CSS not working for form button

Go to solution Solved by tuanphan,

Recommended Posts

Hi!

I'm trying to modify the hover state color of the submit button of a form on my website, but for some reason it stays the same. I've searched for this issue in the forums and tried the solutions I found in previous posts but it doesn't work on my site (which isn't published yet).

I currently have the below code in my css from a previous forum thread on this issue. This is the same code as for my other buttons and how I want it to look but it stays with a black fill as the hover state regardless.

.form-wrapper input[type=submit] {
    border-color:#6819CF!important;
      background: transparent!important;
      text-decoration:none!important;
      color:#6819CF!important;
}

.form-wrapper input[type=submit]:hover {
    border-color:#6819CF!important;
      background: transparent!important;
      text-decoration:none!important;
      color:#6819CF!important;
}
 

image.png.22ef2a393e64f4fbd9bad5d427ec6bad.png image.png.5a7bd0857fefa9788710adfdc702937d.png

Link to comment
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.