Submit Button Hover Color Not Displaying Correct Color
-
Hello, using WPForms, I have applied CSS formating to the Submit Button so that it appears a shade of blue (#004990) while the border and text color are white (#ffffff). When hovering, I have the CSS set to reverse this color scheme (button is white while the border and text are blue), however, when I do this and look at the hover color of the button, it appears gray on the website. I took a snapshot of the color and brought it into Photoshop and see that it is #D1D1D1. Is there some sort of shadowing in place when the mouse is hovering over the button? How do I get it to appear white?
The entire CSS formatting for the form is below. The hover section is the last grouping of the code.
.wpforms-form input[type=submit], .wpforms-form button[type=submit] { background-color: #004990 !important; /* background color*/ border: 1px solid #ffffff !important; /* border color*/ color: #ffffff !important; /* text color */ font-size: 1.5em !important; /* Size of text */ padding: 1px 10px !important; /* Distance between text and border */ border-radius: 5px !important; } .wpforms-submit-container { text-align: center !important; } .wpforms-form input[type=submit]:hover, .wpforms-form input[type=submit]:active, .wpforms-form button[type=submit]:hover, .wpforms-form button[type=submit]:active, .wpforms-form .wpforms-page-button:hover, .wpforms-form .wpforms-page-button:active { background-color: white !important; /*background*/ border: 1px solid #004990 !important; /*border*/ color: #004990 !important; }
The page I need help with: [log in to see the link]
- The topic ‘Submit Button Hover Color Not Displaying Correct Color’ is closed to new replies.