Lukas Block
asked 10 years ago

Hi! I’m using the CSS option “wrap” for changing the background color. But the comment section is still just white. Which CSS-Option do I have to use to change the color for this special area? Thanks!

Rachel Stinson
replied 6 years ago

If you want to change the background for comment box then adjust color code in the following css For comment box, background color and color you can adjust color code in the following css “Appearance => Theme Options => Custom CSS” box:

#respond #commentform textarea {
background-color: #fff;
}
#respond #commentform .text,
#respond #commentform textarea {
color: #aaa !important;
}

Dominic Staff
replied 6 years ago

Thank for your help.

3 Answers
DominicStaff
answered 10 years ago

To change color for the comment section, you can add the following code to the style.css file:

.form-control {background-color: #...; color: #...; }
#respond .form-submit input[type="submit"] { background-color: #...; border-color: #...; color: #...; }

Hope this helps !

travishea
replied 6 years ago

When you say style.css, you’re talking about the top level one for the entire WordPress website, right?

Lukas Block
answered 10 years ago

Hi Dominic,

thanks! But it didn’t solved my problem. Now only the textbox and the submit button has another color. I attached a screenshot to show you my problem: http://picload.org/image/cgroopr/commentarea.png

Dominic Staff
replied 10 years ago

Please send me your site for further checking.

travishea
answered 6 years ago

I have the same problem at:  https://askdrpower.com/question/asking-a-question/.
When I try to enter a comment, the background color is the same as my button.  I tried to add:

.form-control {background-color: #...; color: #...; }
Dominic Staff
replied 6 years ago

Please provide an account can submit a comment for further checking. I have checked your site but I have not permission to view comment section.

Powered by DW Question & Answer Pro