Remove Blue Focus Border
-
Hello! I am using WPForms with Base and Form Theme Styling. I am having difficulty attempting to change the color of the focus border from blue. I also specifically wish to remove this border from appearing on the active Submit button. Below is the Additional CSS I’ve used:
.wpforms-container input[type=date], .wpforms-container input[type=datetime], .wpforms-container input[type=datetime-local], .wpforms-container input[type=email], .wpforms-container input[type=month], .wpforms-container input[type=number], .wpforms-container input[type=password], .wpforms-container input[type=range], .wpforms-container input[type=search], .wpforms-container input[type=tel], .wpforms-container input[type=text], .wpforms-container input[type=time], .wpforms-container input[type=url], .wpforms-container input[type=week], .wpforms-container select, .wpforms-container textarea { display: block !important; float: none !important; border: 1px solid #535353 !important; } .wpforms-form .wpforms-title { font-size: 30px !important; font-family: Helvetica !important; line-height: 45px !important; } .wpforms-form .wpforms-field-label { display: block !important; font-family: Helvetica !important; text-transform: uppercase !important; color: #404040 !important; } .wpforms-form .wpforms-field-sublabel { font-size: 13px !important; line-height: 20.8px !important; font-weight: 700 !important; text-transform: uppercase !important; display: block !important; font-family: Helvetica !important; color: #404040 !important; } .wpforms-form input[type=submit], .wpforms-form button[type=submit] { font-family: Georgia !important; background-color: #D31931 !important; /* Red background */ font-family: !important; font-size: 13px !important; font-weight: 700 !important; line-height: 37px !important; letter-spacing: 1px !important; color: #fffff !important; padding: 0 20px !important; border: 0px !important; border-width: 0px !important; border-radius: 0px !important; box-shadow: 2px 2px 2px #000000 !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: #000000 !important; /* Black background */ border: 0px !important; /* Red, double-line border */ cursor: pointer !important; } .wpforms-form input[type=submit]:focus, .wpforms-form button[type=submit]:focus, .wpforms-form .wpforms-page-button:focus { background-color: #000000 !important; border: 0px solid #000000 !important; cursor: pointer !important; }
I hope the above CSS code is viewable. I’m new to inserting code. Thank you so much in advance for any guidance!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Remove Blue Focus Border’ is closed to new replies.