# CSS username colors only working for admin/moderators?

**URL:** <https://meta.discourse.org/t/css-username-colors-only-working-for-admin-moderators/315045>\
**Category:** Development\
**Tags:** css\
**Created:** [July 4, 2024, 8:05pm UTC](https://meta.discourse.org/t/css-username-colors-only-working-for-admin-moderators/315045 "2024-07-04T20:05:38Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![kittenkraze44](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kittenkraze44/32/428869_2.png) [@kittenkraze44](https://meta.discourse.org/u/kittenkraze44)\
**Post date:** [July 6, 2024, 11:19pm UTC](https://meta.discourse.org/t/css-username-colors-only-working-for-admin-moderators/315045/22 "2024-07-06T23:19:19Z")

</div>

I already looked into that, thanks though.

I am just going to have to make a separate group and manually put people in it for the color change to work. The code above works fine for the defaults but only allows two colors (new users and all other groups outside of staff) which is fine for now.

---

_[View the full topic](https://meta.discourse.org/t/css-username-colors-only-working-for-admin-moderators/315045)._
