Archived

This topic is now archived and is closed to further replies.

  • 0

Quick CSS Question


Question

Posted · Report post

Hello,

 

All the comments on my site had a black background so I tried some CSS but couldn't completely fix my problem.

 

First I tried this:

 

#comments a {
   color: #111111;
   background-color: #ffffff;
}
 
But it turns out that only applies to the subheader of the comment. Then I tried this:
 
.commentlist .comment-body{
 background: #FFFFFF;
}
 
Which is an improvement over before but there's still a black border around body that I can't get rid of. Any assistance is greatly appreciated. I'm a complete CSS nub ='(
 
Sample Page from the site with comments to see what I mean: 
 

 

Thanks and all the best!

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Hi nikoplo

Please, you can try with

.commentlist li {
    padding: 10px 20px 10px 10px;
    background: none !important;}
3 people like this

Share this post


Link to post
Share on other sites

Posted · Report post

Good work Batman 

Share this post


Link to post
Share on other sites

Posted · Report post

Holy batman! that worked. Thank you so much <3

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you Batman :-)

Share this post


Link to post
Share on other sites

Posted · Report post

@nikopol, @James B

Thank you for the "Like This"

:)

Share this post


Link to post
Share on other sites