# Wie weist man einer Gruppe ein Thema zu?

**URL:** https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521
**Category:** Support
**Created:** [22. März 2018 um 00: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:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [22. März 2018 um 00:10 UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/1 "2018-03-22T00:10:13Z")

</div>

I’m working on a customised theme that adds functionality. Currently I’m the only user / tester of it, but I’d like to make it available for certain members, without listing it for everyone.

Is there any way to easily assign a theme to a group?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22. März 2018 um 00:24 UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/2 "2018-03-22T00:24:49Z")

</div>

> [@Biscuit](#):
>
> Is there any way to easily assign a theme to a group?

There is no way to do this, it sounds like an interesting request especially when extended to other parts like “default watched categories” for a group and other user defaults.

You would need a plugin for it now.

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [24. März 2018 um 00:32 UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/3 "2018-03-24T00:32:08Z")

</div>

Thanks for confirming Sam.

I’ve been developing a theme with modifications suitable for staff, but now realise I can’t make that theme available for staff, mods, a group or even for myself (except for hitting preview theme each time), unless everyone gets access to it. Seems like a useful feature. And would make theme testing easier before releasing themes to all.

I haven’t dived into Plug-ins.

---

<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. März 2018 um 00: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.

---

<div class="post-metadata">

### Author: ![Biscuit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biscuit/32/94482_2.png) [@Biscuit](https://meta.discourse.org/u/Biscuit)
#### Post date: [24. März 2018 um 08:57 UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/5 "2018-03-24T08:57:45Z")

</div>

Thanks Kris.

I also realised tonight, that I can create a bookmark in my browser straight to the theme “Preview” using the URL:

> [https://xxx.xxx.xxx/admin/themes/\*\*yy\*\*/preview](https://xxx.xxx.xxx/admin/themes/ **yy** /preview)

Where **yy** is the theme number. I got the URL by right clicking on the preview button and copying the link. This allows me to open the forum using my unreleased (in development) theme.

It’s also a faster way to get other staff to check it out, rather than telling them to click: ADMIN\>Customize\>theme\>correct theme\>preview.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8. Juni 2024 um 12:37 UTC](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/6 "2024-06-08T12:37:42Z")

</div>

Dieses Thema wurde nach 2270 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.
