try adding this to the CSS
textarea#comment {background-color: red;}
if it works you can play with using your image
Thank you for your reply but I think you got me wrong. By “comments-area” I mean the whole area for comments includind title, the comments and respond area. Check out this picture https://dl.dropboxusercontent.com/u/24322253/WP/de.png to get the idea. Like I wrote, I had to define backgrounds separetely for comments-title, comment-body and comment-respond and this gives me what I want, of course. I think there should be easier way to set the background for the whole area, though.
Try using the background on div#comments but remember any backgrounds applied to any child element of <div id=”comments”…> will over ride it’s background
(@tsr_wmb)
11 years, 3 months ago
Why cannot I change the background (image) for comments-area? I have tried to use
background: url(images/post_bg)under comments-area and even with!importantbut nothing changes. I have used the same background everywhere else in the site with no problem. I have set a discussion page http://www.raakkyla-seura.fi/keskustelu0/ (The site is in Finnish). I could fix the problem by defining backround separately for comments-title, comment-body and comment-respond but that required re-defining the margins and paddings for all these. So if you use inspect element function for the page you actually cannot find the comments-area itself anymore. But my solution is not sophisticated as it would be when setting the background for the whole area in one place. So, why does it not work or do have to define the background in some other place? Thanks!https://wordpress.org/plugins/comments/