Hi
I use a WooCommerce Enquiry Form plugin which adds a tab to the single product page. It inherits the alternate colors. I would like to have the input fields to have a white background. I tried the following in my custom stylesheet. The name and email fields appear OK, but my submit button gets affected and the textarea (comment) does not change. I removed the code because that’s not exactly what I want.
Can you please help me figure out which elements of this form should be used to apply a white background to the input fields only, leaving the button as is.
You can access my website using the username and password I added in the private area.
Here’s a link to the product: http://silviafindings.wpengine.com/product/braided-leather-necklace-sterling-silver-lobster-clasp-end-caps (hosted on WPengine)
Thank you
Hey tremblayly,
Thank you for using Enfold. Sorry for the late response.
Please use this in the Quick CSS field:
#top .woocommerce-tabs form .form-row input.input-text, #top .woocommerce-tabs form .form-row textarea, #top .woocommerce-tabs #content .form-row textarea {
background-color: #ffffff;
color: #000000;
}
Add the “!important” declaration after the css value if it’s not working.
This short article will help: http://kriesi.at/archives/wordpress-developers-your-complete-guide-to-conquering-css-in-2016
Best regards,
Ismael
Hi Ismael,
Worked perfectly! And thank your for the link – it’s very insightful. Enjoyed it.
Regards
Lyse