Questions regarding Staff Color

Two questions regarding Staff Color:

  1. 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.

  1. 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?

Current: http://prntscr.com/i6hlky

Original: http://prntscr.com/i6hmby

Any help with these would be greatly appreciated :slight_smile: Thanks!

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.

4 Likes

@cpradio That seems to make the entire post the same color, along with extending it to the edge of the screen (shown below)

Would it be possible to have it only highlight the post itself?

Try adding .topic-body like below. It can work.

.topic-post.group-administrators .topic-body {
  background-color: whatever_you_want;
}
10 Likes

:open_mouth: Perfect! Thank you :slight_smile:

is this code still working?

I am currently using this CSS to change staff color:

.topic-post.moderator .topic-body .cooked {
  background-color: #E6F0E6;
}
1 Like

very new to discourse. Where does the CSS go? Edit CSS/HTML > CSS tab?

Hello there :slight_smile:

Go to your-site-name/admin/customize/themes you can press on a theme (or theme component)

Next, scroll down until you see this

image

You will now see the theme customisation options where you can change / add css

1 Like