# Highlight moderator messages

**URL:** https://meta.discourse.org/t/highlight-moderator-messages/138155
**Category:** Support
**Created:** [January 9, 2020, 2:55pm UTC](https://meta.discourse.org/t/highlight-moderator-messages/138155 "2020-01-09T14:55:27Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 9, 2020, 4:32pm UTC](https://meta.discourse.org/t/highlight-moderator-messages/138155/4 "2020-01-09T16:32:58Z")

</div>

You also have the option to add a [staff notice](https://meta.discourse.org/t/post-notices-staff-notices/122434) (the option is right below staff color), which will add a separate little section like this above any post:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/2/427d690ce4c10a19299a899a69a356affffeef53.png)

If you really want custom code for only _some_ content in a post you can do that too with a some customization ([Generic bbcode wrapper for theme components](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516)).

So for example, if I wanted to highlight only some text I can wrap some text in my post

```plaintext
[wrap=mod-color]
This is my official moderator warning!
[/wrap]

```

Then in your theme’s custom CSS you can add this (admin \> customize \> themes)

```css
.topic-post.group-team [data-wrap="mod-color"] {
   background: yellow; 
   color: red;
}

```

The important thing to note with this method is that to prevent normal users from using the same code you’ll need to create a new group, and that group would have to be the moderator’s primary group (primary group is configurable from an individual user’s admin page). In my example above I’m using a group named “team”, which is where `.group-team` comes from.

---

_[View the full topic](https://meta.discourse.org/t/highlight-moderator-messages/138155)._
