# كيفية تعيين سمة لمجموعة؟

**URL:** <https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521>\
**Category:** Support\
**Created:** [22 مارس 2018، 12:10ص UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521 "2018-03-22T00:10:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [24 مارس 2018، 12:40ص UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/4 "2018-03-24T00:40:47Z")

</div>

You can _kind-of_ do it. We add a class to the body tag for _primary_ groups, for example `.primary-group-team`. So you could wrap your entire theme CSS in

```CSS
body.primary-group-team {
    // All theme styles here
}

```

There’s also a `.staff` class on body, of course this could make your CSS a bit large if you’re trying to cram a bunch of groups in one customization.

---

_[View the full topic](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521)._
