# Does adding groups to CSS theme component still work?

**URL:** <https://meta.discourse.org/t/does-adding-groups-to-css-theme-component-still-work/226065>\
**Category:** Support\
**Created:** [May 4, 2022, 2:44am UTC](https://meta.discourse.org/t/does-adding-groups-to-css-theme-component-still-work/226065 "2022-05-04T02:44:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [May 4, 2022, 2:55am UTC](https://meta.discourse.org/t/does-adding-groups-to-css-theme-component-still-work/226065/3 "2022-05-04T02:55:52Z")

</div>

I just tried it, and it seems to work fine. Do you see any errors in the console?

To be clear, that component only adds the current user’s groups as CSS classes on the `<body>` tag.

> [@Alexander](#):
>
> Discourse adds the user groups to the body tag without any theme component

We use that component here on Meta. Discourse only adds a single class for the current user’s primary group by default.

---

_[View the full topic](https://meta.discourse.org/t/does-adding-groups-to-css-theme-component-still-work/226065)._
