# Is there a way to make the main page category layout different for different themes?

**URL:** https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960
**Category:** Support
**Created:** [14 באוקטובר,‏ 2019,‏ 1:56pm UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960 "2019-10-14T13:56:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jennifer\_Abrams](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jennifer_abrams/32/150388_2.png) [@Jennifer\_Abrams](https://meta.discourse.org/u/Jennifer_Abrams)
#### Post date: [14 באוקטובר,‏ 2019,‏ 1:56pm UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960/1 "2019-10-14T13:56:36Z")

</div>

In discourse users can pick their own themes in Preferences obviously

But many settings seem to be site-wide instead of theme specific.

Is there a way in CSS to set a particular category layout for each theme’s default page? Some themes just do not work with certain layouts.

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [15 באוקטובר,‏ 2019,‏ 6:51pm UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960/3 "2019-10-15T18:51:59Z")

</div>

I thought this was a cool idea, so I created a tiny theme component to accomplish this if you are interested:

> [@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: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [23 ביוני,‏ 2023,‏ 10:29am UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960/4 "2023-06-23T10:29:51Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [23 ביולי,‏ 2023,‏ 10:30am UTC](https://meta.discourse.org/t/is-there-a-way-to-make-the-main-page-category-layout-different-for-different-themes/130960/5 "2023-07-23T10:30:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
