This topic has 6 replies, 3 voices, and was last updated 4 years, 5 months ago ago by Olga Barlow
Hello – hope you are well?
Please could you assist? I have been trying to change the custom CSS on my site to change the colour of certain input text on the form fields to white so they stand out. The forms that are not completely working are the Mailchimp newsletter form, the contacts form, the woo-commerce checkout and the cart.
I have added the following custom CSS which changed everything bar the email address, phone number, order notes and ‘Your Message’ fields.
form input[type=”text”] {
color: #fff;
}
Is there anything you can please recommend that I add to the custom CSS to fix this?
Best wishes,
Emma
Hello,
Try to add the below code to change the placeholder text color
input::-webkit-input-placeholder,input.form-control::-webkit-input-placeholder {
color: #fff;
}
input:-moz-placeholder,input.form-control:-moz-placeholder {
color: #fff;
}
input::-moz-placeholder,input.form-control::-moz-placeholder {
color: #fff;
}
input:-ms-input-placeholder,input.form-control:-ms-input-placeholder {
color: #fff;
}
Regards
Hi Olga,
Thank you for checking – however, this didn’t work, unfortunately. The form fields I mentioned above are still appearing with black or grey text.
I have tried a cached version and it’s also the same.
Is there anything else I can try, please?
Thank you,
Emma
Hi,
Please disable minify CSS and clear cache.
Regards,
Hung PD
How do I do this?
Thanks
Hello,
Contact your hosting provider to find out how to clear the cache on your site http://prntscr.com/tena6f I don’t see the mentioned code on the page. So either you did not add it correctly or you did not clear the cache to apply changes.
I don’t have access to your WP Dashboard that’s why I can’t give you any other detailed instructions.
Regards
You must be logged in to reply to this topic.Log in/Sign up