Contact Form Syle Question

I was able to style the contact form with my own CSS, but, I can't figure out how to change the default "blue-white" color of the back ground and blue text when you click inside one of the contact form fields and start filling it out. Is there custom CSS this can be done with? I'd like the form to keep the teal background when clicking in any of the fields and the text color to be white.

Here is a screen grab of the way it looks without touching it:
image

Here is the way it looks when you click in one of the boxes:
image

Thanks Again!

Comments

  • OH! almost forgot... the URL is http://ayprecovery.org in case you need to look.
  • i have the same problem too.
  • Hi guys,

    this is very easy. You can do this within below css:
    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; color: #FFF !important; }
  • much better! Many thanks!
    Is there anyway to keep the text white when not inputting into the text field? And can the the white border be removed?

    image
  • Yes, it is possible. You can do this within below css:
    input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea, .woocommerce .quantity input.qty { color: #FFF !important; }
    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 { border-color: transparent !important; }
  • perfect! Thank you again.
    You guys are amazeballz!
  • We're glad to hear this ;) Thanks as well!
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.