XF 1.5 Changing the color of an individual category strip?

KenBrace

Active member
I'm creating a category in my forum that will be seen by members only so I want it to stand out from among the rest.

A good way to do this would be to change the color of that particular strip.

Any idea how to do this?
 
Code:
.nodeList .categoryStrip .nodeTitle {
    background-color: #FF0000;
}

That's the CSS for the category strip. Then just include the node ID in it.

Thanks!

Just one question. How exactly should I include the node ID?

Is it targeted as a class, id, etc.?

I tried...
Code:
.nodeList .categoryStrip .nodeTitle .17 {
    background-color: #FF0000;
}

...and...
Code:
.nodeList .categoryStrip .nodeTitle #17 {
    background-color: #FF0000;
}

...but neither worked.
 
Oh wait, I figured out the problem. The CSS works. It's just being over-written by a background-image (I'm using a theme). All I had to do was set the background-image value to "none".
 
Back
Top Bottom