是否可以更改类别版主盾牌的vis CSS?

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.

3 个赞

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

3 个赞
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 and Developer’s guide to Discourse Themes

6 个赞

Thanks for the pointer!

1 个赞

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