ckshen
2020 年12 月 27 日 07:01
1
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 个赞
Benjamin_D
(Benjamin Decotte)
2020 年12 月 27 日 08:10
2
I’m sure you know about the built in feature but otherwise :
Overview
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 icon to use as group flair. Below are the currently supported contexts, using our logo as an example:
User cards
[usercard]
Topic/PM posts
[posts]
Topic maps
[topic-summary]
User profile banners
[profile]
User summary “Most…” lists
[most]
Users…
3 个赞
Falco
(Falco)
2020 年12 月 27 日 17:47
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 个赞
system
(system)
关闭
2022 年11 月 18 日 15:32
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.