- This topic has 8 replies, 2 voices, and was last updated 2 years, 10 months ago by bhudin.
-
AuthorPosts
-
January 30, 2021 at 11:50 am #272650bhudinParticipant
Greetings:
I have chosen the black page color for my theme. The problem with this is that the contact page and all comment fonts are black. I changed the code for the contact background color in the text boxes. I would prefer that the text color would be white like the rest (a cleaner look) but can live with it. Problem: see Featured Content “comment boxes” at the bottom of one of those pages- I changed the background color for the “comment” box but I can’t change the background for the “name”, “email”, and “url” boxes. These do not appear when I am logged on to my site. They only appear to the public. I have wasted a lot of time inspecting these fields logged out an then logging back in to change the code. I can’t get it to work.
Please advise… http://www.barbarahudin.com
Thank you, BarbaraJanuary 30, 2021 at 11:46 pm #272698tikaramKeymaster@bhudin: Hello,
Login to your WordPress admin section. Go to Appearance => Customize => Additional css and add the following css.
input[type="text"] { background-color: rgb(228,244,245); }
Let me know if this helps resolve your issue.
Regards,
TikaramJanuary 31, 2021 at 10:31 am #272721bhudinParticipantHi Tikaram,
It word for the name “box” only. I had already changed the code for the comment background. I have tried adding the email and url to the code change but can’t make it work.
Thanks, BarbaraFebruary 1, 2021 at 11:08 am #272815bhudinParticipantHi… I’m changing the contact form and will fix the code in the new one.
Thank you, BarbaraFebruary 1, 2021 at 3:20 pm #272838bhudinParticipantI changed the contact form and the background color works for that. The code change you provided only worked for “name” in comment areas. Email and website backgrounds are unchanged and I can’t figure out that particular coding.
Please advise.. thank you, BarbaraFebruary 2, 2021 at 9:04 am #272960tikaramKeymaster@bhudin: I checked your site and the contact form is working fine. Please let me know if there is anything else left to be done.
Regards,
TikaramFebruary 2, 2021 at 10:30 am #272966bhudinParticipantHi… not the contact form, I changed the coding on that one. The “comment” email and URL boxes are too dark with black fonts. Your coding fixed only the “name” input box background. See comment are for Featured Content or posts (1st post).
Thank you, BarbaraFebruary 3, 2021 at 3:34 am #273015tikaramKeymaster@bhudin: Please replace the previous css with the following css.
textarea#comment, input[type="text"], input[type="email"], input[type="url"] { background-color: rgb(228,244,245); }
Let me know if this helps resolve your issues
February 3, 2021 at 10:37 am #273047bhudinParticipantYes, Tikaram, it worked. You’re a “peach”!
Thank you, Barbara -
AuthorPosts
- The topic ‘Featured content “comment” background color’ is closed to new replies.