# User Group class not always being applied to post content's wrapper div

**URL:** <https://meta.discourse.org/t/user-group-class-not-always-being-applied-to-post-contents-wrapper-div/324970>\
**Category:** Support\
**Created:** [September 4, 2024, 6:41pm UTC](https://meta.discourse.org/t/user-group-class-not-always-being-applied-to-post-contents-wrapper-div/324970 "2024-09-04T18:41:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![alxndr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alxndr/32/102300_2.png) [@alxndr](https://meta.discourse.org/u/alxndr)\
**Post date:** [September 5, 2024, 1:08am UTC](https://meta.discourse.org/t/user-group-class-not-always-being-applied-to-post-contents-wrapper-div/324970/4 "2024-09-05T01:08:15Z")

</div>

Hm, I’ve added this component to our theme but it doesn’t seem to have changed the CSS classes on the post in my example above.

I think I’d prefer to use this component, although I don’t know what the “primary group” setting entails. What happens if a user is a member of multiple groups which have the “automatically set as primary group” option turned on?

---

_[View the full topic](https://meta.discourse.org/t/user-group-class-not-always-being-applied-to-post-contents-wrapper-div/324970)._
