The discussion revolves around customizing staff color in Discourse. Indominus initially asks if it’s possible to automatically add staff color to admin/moderator posts and to revert the staff color to its original state, which colored the entire post.
cpradio suggests targeting the admin group with CSS to achieve this. However, Indominus notes that this solution affects the entire post and extends it to the edge of the screen.
vinothkannans provides a revised CSS code, .topic-post.group-administrators .topic-body { background-color: whatever_you_want; }, which solves the issue.
Other users share their own CSS codes for changing staff color, such as aschrijver. tin.hoang asks where to add the CSS code, and ondrej provides instructions on how to add custom CSS in the theme customization options.
Is it possible to add staff color to all admin/moderator posts automatically after posting?
I know there have been a few people that have asked the same question, but I haven’t seen an answer yet. It would be easier for my moderators/admins to have the staff color added automatically, instead of them having to manually add it to each post.
The staff color has seemed to change over the last couple of updates… Originally it was the entire post that was colored, now it seems to be just the text. Is there any way to change this back?
Not that I know of, but you can put the Admin accounts into a group (lets call it Administrators), set it as their Primary Group, and target that with CSS .topic-post.group-administrators { background-color: whatever_you_want; }
The above solution, might help with your second concern too.