Styling Contact Form 7

Hi there,

I've used Firebug and Chrome's Inspection tool but can not find the css that controls elements within Contact Form 7 fields. The Colors/Forms section within the admin doesn't work as I'm using a One Color Skin. I'm trying to change  2 things through css:

1) The text color of characters that are inputted within each field (currently blue by default but want the text to be green).

2) One of the contact form fields is a dropdown. The hover color of the dropdown is currently blue, I'd like it to be green.

Here's a link to the form: click here

Any help with this would be greatly appreciated,

T

Comments

  • Hi,

    did you tried to use color options under Theme options > Colors > Forms section?
  • Yes, as indicated in my original message, I've tried that and it doesn't work. Because I'm using the One Color Skin, that Colors/Forms section does not work. I need to add Custom CSS but can not locate css that I need to change using Firebug.
  • Ok. So to change those colors, please use:
    input[type="date"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, select:focus, textarea:focus {
        background-color: #000 !important;
        border-color: #000 !important;
        color: #FFF !important;
    }
    .wpcf7-form select { background: #000 !important; color: #FFF !important; }
    Of course we get above css using Firebug.
  • Thank you very much.
  • Ok so everything to do with the form is now styled accordingly but one thing, the dropdown hover color. I've used Firebug, I've used Chromes Inspection but can not find where the blue dropdown hover color is coming from. Please, can you provide the css to change this one color from blue to something else? The field I'm referring to is titled: First Timer or Regular


    Thanks for any further help with this,

    T
  • If you mean select item, this hover color came from browser and our theme does not have anything to do with this color.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.