ckshen
2020 年 12 月 27 日午前 7: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 日午前 8: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 日午後 5: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 日午後 3:32
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.