# האם ניתן לשנות את מגן ה-Category Moderator ב-vis CSS?

**URL:** https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055
**Category:** Development
**Tags:** css, category-moderators
**Created:** [27 בדצמבר,‏ 2020,‏ 7:01am UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055 "2020-12-27T07:01:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [27 בדצמבר,‏ 2020,‏ 7:01am UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055/1 "2020-12-27T07:01:41Z")

</div>

Is it possible to change via CSS the shield of category moderators to something else so we can differentiate category moderators from moderators?

Or phrased differently, am I able to target the .svg-icon (which is now a shield) for .first.username.category-moderator specifically? so far I can change .svg-icon, but for all moderators, category or not.  
Thanks.

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [27 בדצמבר,‏ 2020,‏ 8:10am UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055/2 "2020-12-27T08:10:15Z")

</div>

> [@Category Moderator Improvements](https://meta.discourse.org/t/category-moderator-improvements/158628/25):
>
> via CSS

I’m sure you know about the built in feature but otherwise 😉 :

> [@Add group flair on member avatars](https://meta.discourse.org/t/automatically-add-group-flair-to-members-avatars/82700):
>
> bookmark This is a guide for configuring automatic group flair on user avatars in Discourse. person_raising_hand Required user level: Administrator Automatically add group flair to members’ avatars Group avatar flair displays to the bottom-right of a user’s avatar, providing a stylish way to highlight a user’s group membership. When creating or configuring a group, an admin can choose an image or [Font Awesome](https://fontawesome.com) icon to use as group flair. Summary This guide cover…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [27 בדצמבר,‏ 2020,‏ 5:47pm UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055/3 "2020-12-27T17:47:27Z")

</div>

> [@ckshen](#):
>
> Or phrased differently, am I able to target the .svg-icon (which is now a shield) for .first.username.category-moderator specifically?

```css
section#topic div.topic-post.category-moderator div.topic-meta-data span.category-moderator span.svg-icon-title {
  display: none;
}

```

Selector above will hide shields only from category moderators. Adjust to your needs.

You may want to read [How to make CSS changes on your site](https://meta.discourse.org/t/how-to-make-css-changes-on-your-site/168101) and [Developer’s guide to Discourse Themes](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648)

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [27 בדצמבר,‏ 2020,‏ 7:32pm UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055/4 "2020-12-27T19:32:42Z")

</div>

> [@Falco](#):
>
> ```plaintext
> section#topic div.topic-post.category-moderator div.topic-meta-data span.category-moderator span.svg-icon-title {
> display: none;
> }
> 
> ```

Thanks for the pointer!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [18 בנובמבר,‏ 2022,‏ 3:32pm UTC](https://meta.discourse.org/t/is-it-possible-to-change-via-css-the-category-moderator-shield/246055/5 "2022-11-18T15:32:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
