In a Support topic titled “Eye icon for moderators,” pr0cesor explains that they created a moderator account named “Watchdog” and assigned a badge with an eye icon, but the shield icon still appears next to the user’s name. They want to remove the shield and ideally replace it with the eye icon. smrtey suggests creating a custom group and using CSS to hide the shield, but pr0cesor notes the user is already in the “Moderators” group and that changing the CSS selector to .group-moderators didn’t work. Later, pr0cesor finds the correct CSS class to hide the shield but notices a gap remains. Canapin suggests using .moderator .svg-icon-title { display: none; }, which pr0cesor confirms works perfectly — removing both the shield and the gap. smrtey adds that for all moderators, .d-icon-shield-alt { display: none; } can be used, and the gap can be closed by setting .moderator .names span { margin-right: 0; }. The solution successfully hides the shield without leaving visual artifacts.
I created an account and called it Watchdog, I granted him mod rights, then I created a badge and named it moderators (I put the eye icon in the settings). I granted badge moderators to Watchdoggo and when doggo is posting, the shield and the eye icon appear.
What appears is a shield although granted badge has eye in settings.
I found the css responsible for that icon, however when applied display:none to it, the icon of course disappeared, but it left a gap in between and I would like to remove that gap (yellow arrow).
Or how can I substitute the shield icon with an eye icon using CSS? because the class responsible for the shield icon is not in CSS it’s embedded in HTML
Correct. If you want to remove it for all moderators, group-moderators is not a class, it’s just moderator. But then you don’t need moderator, just