Another option, based on a hint from this page, is to set CSS for a specific element based on the <html> tag containing a specific node ID.
For example, this makes the reply button green on two specific forums, 2 and 5:
[data-container-key="node-2"],
[data-container-key="node-5"]
{...
Pretty cool. The floating notice seems to get the job done. And it can be set to only be visible on specific forums.
I just added some custom CSS in extra.less after setting a custom CSS name in the notice settings:
.modAreaNotice {
background-color: #5a66ed;
text-align: center...
That can only be at the top of the page, though, right?
Mainly, I was wondering if there's a way to use CSS to change the color of an element, but only when a user is on a specific node/category.
Thank you, I'm aware of that setting.
The reason for my post is that different moderators on the forum use different styles. For example, User A has a user style that makes the whole page a yellow shade, and User B's makes the forum a blue shade. Overriding would make the whole page change...
I was thinking it would be good to be able to clearly visually mark all the moderator's private forums, so that there's little chance of accidentally posting moderation-related discussion in public areas.
My first thought was to use the Override user style choice option on the category which...