comments by me - background color

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

comments by me - background color

Post by Don Chambers »

Looks like there is a css class I cannot locate. For comments *I* have personally added to an entry, the background color for author, date & time, etc, is different than for any other entries. In my case, that background color is coming out near white.

Changes to the .serendipity_comment_source style do not seem to alter the background of comments I have posted. Example
here.

What am I missing here?
=Don=
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

style this class: serendipity_comment_author_self

CoSTa
"everything is under control" - kasparov demo
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

CoSTa - that changes the comment text.... but not the footer (#: author on date, time).

serendipity_comment - background-color here would affect the entire comment.

serendipity_comment_author_self - this does change the background of the comment text for me, but does not affect the footer.

serendipity_commentBody - this changes the properties of every comment's text.

serendipity_comment_source - changes every other component of the footer with the single exception of the background color for my posts.

So what am I missing?
Last edited by Don Chambers on Thu Feb 23, 2006 9:30 pm, edited 1 time in total.
=Don=
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

The problem is here;

Code: Select all

.serendipity_comment_author_self .serendipity_comment_source {
    background-color: #EEEEFF;
}
This line basically says that any comment source that is also written by the logged in author should have its background changed.

You could either remove this line entirely, or if you wanted these two styles to be handled the same way then place a comma between them like so;

Code: Select all

.serendipity_comment_author_self, .serendipity_comment_source {
    background-color: #EEEEFF;
}
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

What file is that from Carl?
=Don=
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Sorry, thats the very bottom of your template stylesheet.
Post Reply