styling problems with css
-
hi wpforms support,
I have a problem with the styling of dropdown fields, text fields and buttons.
how can i prevent the hover effect (white bar) from being applied to an item that has been selected in the dropdown field using css?why does the background color in the text field name and e-mail change? it looks as if the original color is darkened. but i haven’t set this anywhere. how can i prevent this?
then an outline appears on the button when you click with the mouse. i haven’t declared this anywhere either. i’ve been looking for it in the css for a day, but can’t find the position. i couldn’t deactivate it with “outline: 0 !important”. how can i remove this outline?
with the hover effect on the button, the background appears in gray instead of white. i haven’t declared this anywhere either. i don’t understand where this comes from. how can this be corrected?
this is my custom css for the buttons
/* WPFORMS BUTTONS */
div.wpforms-container .wpforms-form input[type=submit],
div.wpforms-container .wpforms-form button[type=submit],
div.wpforms-container .wpforms-form .wpforms-page-button
{
background-color: #2065DF !important;
color: #fff !important;
border: 1px solid #fff !important;
font-family: Arial !important;
font-weight: bold !important;
font-size: 16px !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
padding-right: 20px !important;
padding-left: 20px !important;
}
/* WPFORMS BUTTONS | HOVER */
div.wpforms-container .wpforms-form input[type=submit]:hover,
div.wpforms-container .wpforms-form button[type=submit]:hover,
div.wpforms-container .wpforms-form .wpforms-page-button:hover
{
background-color: #fff !important;
color: #2065DF !important;
border: 1px solid #2065DF !important;
font-family: Arial !important;
font-weight: bold !important;
font-size: 16px !important;
text-transform: uppercase !important;
letter-spacing: 0.5px !important;
padding-right: 20px !important;
padding-left: 20px !important;
}thank you very much in advance
kind regards,
sergio
The topic ‘styling problems with css’ is closed to new replies.