# Different category page style for a specific group

**URL:** https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418
**Category:** UX
**Tags:** theme-welcome
**Created:** [April 6, 2022, 12:44am UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418 "2022-04-06T00:44:23Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jose.daniel.lardizab](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jose.daniel.lardizab/32/197727_2.png) [@jose.daniel.lardizab](https://meta.discourse.org/u/jose.daniel.lardizab)
#### Post date: [April 6, 2022, 12:44am UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418/1 "2022-04-06T00:44:23Z")

</div>

Curious.

Is it possible to force a different category page style setting for a specific group or primary group?

---

<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: [April 6, 2022, 8:20pm UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418/2 "2022-04-06T20:20:14Z")

</div>

It should be possible with a theme component, but as far as I know no one’s built one.

There is a theme component available that makes it possible to use a different category page layout for a specific theme… and it seems possible to use this as a starting point to build a component that can do the same based on group membership.

> [@Categories Layout Override](https://meta.discourse.org/t/categories-layout-override/131098):
>
> Normally the desktop categories page layout is set via a global site setting. When added to a theme, this component will allow you to override the layout of the categories page for that specific theme. Installation [Repository Link](https://github.com/tshenry/discourse-categories-layout-override) https://github.com/tshenry/discourse-categories-layout-override This component can be installed more than once if necessary. If you do this, it is recommended to modify the name so you can keep track of which layout is associated with each copy of the c…

---

<div class="post-metadata">

### Author: ![jose.daniel.lardizab](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jose.daniel.lardizab/32/197727_2.png) [@jose.daniel.lardizab](https://meta.discourse.org/u/jose.daniel.lardizab)
#### Post date: [April 6, 2022, 9:06pm UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418/3 "2022-04-06T21:06:27Z")

</div>

Hi @awesomerobot!

Thanks a lot for your help. I really appreciate this.

After installing this theme, I can possibly use this guide of yours [here](https://meta.discourse.org/t/how-to-assign-a-theme-to-a-group/83521/3) to assign this specific theme with the added component, right?

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [April 6, 2022, 10:29pm UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418/4 "2022-04-06T22:29:42Z")

</div>

@falco wrote a component that adds all group classes to the body. I’m using this for similar cases:

[https://github.com/discourse/discourse-groups-css-classes-in-body/](https://github.com/discourse/discourse-groups-css-classes-in-body/)

Edit: ah sorry.. you want to change the site setting, not the CSS styling. that’s only the above approach then I guess.

---

<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: [April 7, 2022, 1:55am UTC](https://meta.discourse.org/t/different-category-page-style-for-a-specific-group/223418/5 "2022-04-07T01:55:45Z")

</div>

Unfortunately it’s more complicated than that, changing the category page takes more than CSS changes, so that linked method won’t work.

I had a little time and it seemed useful, so I put together a theme component that might cover what you are looking for, called [Group Categories Page Override](https://meta.discourse.org/t/group-categories-page-override/223560), give it a try!
