XF 2.3 Change row color of thread with certain prefix

beerForo

Well-known member
I'd like to change the row color of a thread with a certain prefix. An add-on does it for stickies, same idea but for a prefix id. Thanks for any help!
 
The same technique described here applies:

 
Brilliant! I'm using it with @Siropu's Ads Manger for promo threads that have a dedicated prefix, now they are highlighted!

Not sure I am coding it right but it works for light and dark.

Code:
.structItem.structItem--thread.is-prefixA
{
    background-color: #AAAAAA;
}
.m-colorScheme(dark,
    {
    .structItem.structItem--thread.is-prefixA
    {
    background-color: #BBBBBB;
    }
    }
);
 
Back
Top Bottom