Can’t Style Select or TextArea input fields
-
Hello. For whatever reason, the input fields in my client’s one contact form was showing up as white against a white background.
I used your code to style the text, email and tel fields:
.wpcf7 input[type=”text”],
.wpcf7 input[type=”email”],
.wpcf7 input[type=”tel”],
.wpcf7 input[type=”select”],
.wpcf7 textarea
.wpcf7 select
{
background-color: #fff;
color: #000;
width: 100%;
}This successfully changed the email, telephone and name fields to have black writing on white background. However, I had to change the additional comments field to a text field in order for it to work, and as you can see, neither having a class called
.wpcf7 input[type=”select”],
nor
.wpcf7 select
successfully changed the font color of the drop-down menu to black.
How can I change the drop-down menu options to black on a white background? Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Can’t Style Select or TextArea input fields’ is closed to new replies.