XF 2.2 Target a prefix in a specific forum

JoyFreak

Well-known member
I'm trying to target a prefix in a specific forum via CSS. I use the same prefixes in two forums. I want to edit the background colour for each forum. I currently have:
Code:
[data-container-key="node-5"] {
.prefix.Gaming {
    background: blue;
}
}

But that seems to only change the css in the forums itself. I want to apply across the forums. Is there a way to do this?

Thanks in advance!
 
Just create the prefix in the other forum and style it. They can have the same name.
I tried that. I had 11 identical prefix names but when someone posts a thread in the wrong forum, and you move it to the other forum, it removes the prefix because it's not applicable in that forum due to this method. This can be frustrating and create more work on a busy forum especially when a prefix is required.

Also, it could be confusing when using the search engine and finding 22 prefixes, 11 which are identical and you'd need to search the same prefix for each forum to find what you're looking for.

So trying to do this is probably much more efficient. I just to need work out how.
 
Back
Top Bottom