Jump to content


Photo
- - - - -

Quick CSS Question

comments bacground color css

Best Answer batman , 18 June 2013 - 09:59 AM

Hi nikoplo

Please, you can try with

 
.commentlist li {
    padding: 10px 20px 10px 10px;
    background: none !important;}
Go to the full post


  • Please log in to reply
5 replies to this topic

#1 nikopol

nikopol

    Member

  • Members
  • 23 posts
  • Country: Country Flag

Posted 18 June 2013 - 07:31 AM

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: 
 

Please Login or Register to see this Hidden Content

 

Thanks and all the best!



#2 batman

batman

    Bat Learning

  • Members

  • 2110 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 18 June 2013 - 09:59 AM   Best Answer

Hi nikoplo

Please, you can try with

Please Login or Register to see this Hidden Content


  • James B, nikopol and greenfly like this

#3 nikopol

nikopol

    Member

  • Members
  • 23 posts
  • Country: Country Flag

Posted 18 June 2013 - 10:23 PM

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



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 18 June 2013 - 11:44 PM

Thank you Batman :-)



#5 batman

batman

    Bat Learning

  • Members

  • 2110 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 19 June 2013 - 12:44 AM

@

Please Login or Register to see this Hidden Content

, @

Please Login or Register to see this Hidden Content

Thank you for the "Like This"

:)



#6 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 19 June 2013 - 01:04 PM

Good work Batman