# How to group categories together

**URL:** https://meta.discourse.org/t/how-to-group-categories-together/200376
**Category:** Feature
**Tags:** theme-welcome
**Created:** [August 14, 2021, 1:09am UTC](https://meta.discourse.org/t/how-to-group-categories-together/200376 "2021-08-14T01:09:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Molster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/molster/32/199774_2.png) [@Molster](https://meta.discourse.org/u/Molster)
#### Post date: [August 14, 2021, 1:09am UTC](https://meta.discourse.org/t/how-to-group-categories-together/200376/1 "2021-08-14T01:09:51Z")

</div>

> **[Diablo 3 Forums](https://us.forums.blizzard.com/en/d3/)**

in these forums, you can see various categories are call grouped together by a “category-group-name”

not able to figure out how to do this (unless this is a custom plugin) in which case does anyone know of said plugin to support grouping categories together? (as this fix the issue I was going to run into with sub categories not being able to have their own sub categories)

---

<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: [August 14, 2021, 1:15am UTC](https://meta.discourse.org/t/how-to-group-categories-together/200376/2 "2021-08-14T01:15:28Z")

</div>

That category page has been highly customized, there’s no way to group categories like that in Discourse without customization. But some have done it with CSS, there’s an example here:

> [@Can it be done with CSS? Grouping categories on category page](https://meta.discourse.org/t/can-it-be-done-with-css-grouping-categories-on-category-page/112433/4):
>
> A bit late smile but maybe someone else needs it. I must mention that: Not all the CSS code is required, especially the borders and the background colors for table rows, so feel free to adjust them as you like. I had to change the layout from the regular table into flex cause you can’t have negative margins on table rows and other layout issues, and well..is more flexible smileReplace Category Group 1 and Category Group 2 with your desired category group names In my example I’ve used the …

We’ve had a similar request a few times, so we should consider an official customization that allows this kind of grouping.

---

<div class="post-metadata">

### Author: ![Molster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/molster/32/199774_2.png) [@Molster](https://meta.discourse.org/u/Molster)
#### Post date: [August 14, 2021, 1:26am UTC](https://meta.discourse.org/t/how-to-group-categories-together/200376/3 "2021-08-14T01:26:12Z")

</div>

Hey Kris,

That was my fear honestly (they have a lot of really solid custom stuff, so figured this may be one)

That would honestly be great! It really hits perfect for people trying to house a few different topics in one Discourse, and kinda gets by the issue of there only being a single sub-category down

will check out the css trick for now, thanks for the reply! Will cross fingers for something official

---

<div class="post-metadata">

### Author: ![schneeland](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schneeland/32/275391_2.png) [@schneeland](https://meta.discourse.org/u/schneeland)
#### Post date: [September 17, 2023, 11:28pm UTC](https://meta.discourse.org/t/how-to-group-categories-together/200376/4 "2023-09-17T23:28:52Z")

</div>

This thread is a little old, but I would like to express my support for the idea of allowing grouping as shown in the Diablo forums above as part of the standard delivery.  
If I’m not mistaken, [this theme component](https://meta.discourse.org/t/category-groups/200874) gets you close, but it would visually still be quite a bit different from the Diablo example. Also, it would be useful if such groups of categories also showed up in other places. Most notably, the list of categories on the main page and the side bar.
