carene_waterman: An image of the Carina Nebula (Default)
carene_waterman ([personal profile] carene_waterman) wrote in [site community profile] dreamscapes 2014-02-02 12:31 am (UTC)

I got the:
.comment .header {background: color}


to work by appending it to your custom CSS stylesheet with the Firefox dev tools. So that's exactly where it would be if you put it in there yourself. There is nothing causing any inheritance issues here.

Did you perhaps type it in as:
.comment.header {background: color}


That's a really easy mistake to make, and it means something very different from the first rule since it refers to an element with both comment and header as class names--which doesn't exist.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting