Alternating CSS code for blockqoutes withing forum replies
-
So, I can style an .odd and .even forum differently, in this case to give forums on the the forums front page alternating colors, This also works for topics in the same way. And it carries over into replies, were the lead reply will have background-color: #fff;, and the next reply will have background-color: #000;, for example. What I am trying to do now is change the color of the blockqoute within the forum reply, to be the opposite of what the reply background is.
so if….
#bbpress-forums div.odd, #bbpress-forums ul.odd {
background-color: #000 !important;}
then I would want something like…
#bbpress-forums div.odd, #bbpress-forums ul.odd, blockquote {
background-color: #fff !important;}
For some reason I can not get the blockqoute background to change, at least the way I want it too. For some reason it changes the blockquote background globally. I feel like I am missing a CSS class here somewhere. Can anyone give me a hint at what I’m missing?
- You must be logged in to reply to this topic.