# Categories Layout Override

**URL:** https://meta.discourse.org/t/categories-layout-override/131098
**Category:** Theme component
**Created:** [October 15, 2019, 6:43pm UTC](https://meta.discourse.org/t/categories-layout-override/131098 "2019-10-15T18:43:03Z")
**Posts on this page:** 5
**Page:** 1

<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: [October 15, 2019, 6:43pm UTC](https://meta.discourse.org/t/categories-layout-override/131098/1 "2019-10-15T18:43:03Z")

</div>

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.

 ![33%20AM](https://global.discourse-cdn.com/meta/original/3X/9/b/9bb9758f073a60c1e216b2e6d9b967d484e2e1b7.png)

### 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 component.

If you are unfamiliar with theme components and how to install them, check out the [theme installation guide](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682). And if you’d like to learn more about Discourse themes, take a look at [this guide](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966).

---

<div class="post-metadata">

### Author: ![Watchkc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/watchkc/32/159108_2.png) [@Watchkc](https://meta.discourse.org/u/Watchkc)
#### Post date: [October 20, 2019, 3:53pm UTC](https://meta.discourse.org/t/categories-layout-override/131098/4 "2019-10-20T15:53:52Z")

</div>

Cool, thanks for sharing this

---

<div class="post-metadata">

### Author: ![hoangphuctran93](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hoangphuctran93/32/290976_2.png) [@hoangphuctran93](https://meta.discourse.org/u/hoangphuctran93)
#### Post date: [November 24, 2023, 4:53am UTC](https://meta.discourse.org/t/categories-layout-override/131098/7 "2023-11-24T04:53:10Z")

</div>

Recently with ver 3.2.0.beta 4-dev theme component was not working. I also hope that mobile display customization will be integrated into the core of discourse. Because I want a synchronous experience from desktop to mobile

---

<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: [November 29, 2023, 9:30pm UTC](https://meta.discourse.org/t/categories-layout-override/131098/8 "2023-11-29T21:30:02Z")

</div>

Thank you for the report @hoangphuctran93! The component should be fixed now with the following commit:

[https://github.com/tshenry/discourse-categories-layout-override/commit/1726313ed4e9e3369b97b8dd0c7f72c5c4211d5f](https://github.com/tshenry/discourse-categories-layout-override/commit/1726313ed4e9e3369b97b8dd0c7f72c5c4211d5f)

Please go ahead and update the component from your admin dashboard when you have an opportunity.

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 21, 2023, 8:46pm UTC](https://meta.discourse.org/t/categories-layout-override/131098/9 "2023-12-21T20:46:37Z")

</div>

Is there a way to use this categories layout override for the mobile categories display layout?
