Jump to content


Photo
- - - - -

Help me figure out which CSS is alternating the colors of comments


  • Please log in to reply
19 replies to this topic

#1 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 01:36 AM

I'm trying to figure out which CSS is alternating the text and background colors of comments, as I'd like them all just to be the same. I can tell from looking at the code with Firebug and Inspect Element that it's something to do with "odd" and "thread-odd" but I'm not getting any joy with the various things I've tried. I thin that's it. Or is it "thread-alt"? Would you be so good as to pont me in the right direction?

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 July 2012 - 01:57 AM

The CSS selector odd or thread-odd or thread-alt may be correct, but there might be more to the code than that. Would it be possible to make your site accessible so I can inspect it with Firebug?

#3 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 02:17 AM

@catrina, I've turned off maintenance mode. This post has comments:

Please Login or Register to see this Hidden Content



#4 batman

batman

    Bat Learning

  • Members

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

Posted 19 July 2012 - 02:37 AM

I??m not sure but ...
You can try add in
PageLines > Site Options > Custom Code > CSS Rules

Please Login or Register to see this Hidden Content



#5 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 July 2012 - 02:37 AM

Thanks! Try this CSS:

Please Login or Register to see this Hidden Content



#6 batman

batman

    Bat Learning

  • Members

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

Posted 19 July 2012 - 02:39 AM

Uppsss at the same time (11:37PM).... Catrina solution is more better ;)

#7 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 03:09 AM

@catrina, that's similar to something I tried and your solution isn't working, either. Take a look:

Please Login or Register to see this Hidden Content



#8 Danny

Danny

    Is Awesome!

  • Moderators
  • 15891 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 19 July 2012 - 07:50 AM

Hi Grant,

You can add this to your custom CSS and it will display all your comments with the same color:

Please Login or Register to see this Hidden Content



#9 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 01:58 PM

@danny That, too, does not work.

#10 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 July 2012 - 02:00 PM

Try this one:

Please Login or Register to see this Hidden Content



#11 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 02:06 PM

@catrina Alas, no, that doesn't do the trick, either.

#12 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 July 2012 - 02:27 PM

Try this one (the depth aspect of it may also need to be considered in the CSS):

Please Login or Register to see this Hidden Content



#13 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 02:31 PM

@catrina No dice, I'm afraid.

#14 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 July 2012 - 02:36 PM

Try each of these one at a time to see if any of them work (it has to be one of these because I've inspected the site and these are the selectors, it's just a matter of finding the right combination):

Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content



#15 awww

awww

    Advanced Member

  • Members
  • 48 posts
  • Country: Country Flag

Posted 19 July 2012 - 03:05 PM

I wish I knew what was happening here. None of these are working, either. This should work!

Please Login or Register to see this Hidden Content


The Custom CSS additions are showing up in the rendered code, so it's not a problem with that.