Convert a post to Moderator by default

(Fred Vom Jupiter) #1

Hey there,

my question is, is it possible to highlight every post from a Moderator by default. No we always have to do it with the convert_to_moderator button in every post.

Thanks for your help

(Jeff Atwood) #2

There are CSS styles you can attach to, yes. Press f12 in your browser to examine the reply markup:

<div class="topic-post clearfix group-team regular">

(Fred Vom Jupiter) #3

Thanks for your fast answer Jeff. I know that I can attach the CSS style to the code. But how can I add the class group-team oder moderator to the html code when a group member or a moderator is posting?

Because only then when a moderator set up a post the post gets the background-color.

(Jeff Atwood) #4

Only the primary group will be shown in the markup, so make sure that group is primary for that user.

(Fred Vom Jupiter) #5

This was the solution. Thanks a lot :slight_smile:

(RĂ©gis Hanol) #6