Sub-Subcategories?

AI-generated summary

In a discussion titled ‘Sub-Subcategories?’ under the Support category, iTrulx seeks help creating sub-subcategories in Discourse, noting they’ve seen another site implement this but can’t find how. Zeemah initially suggests using tags instead, since Discourse only supports categories and subcategories. iTrulx clarifies they’re actually asking how to add visual headers (like ‘Cfx.re’ or ‘FiveM’) to group categories — not true sub-subcategories — and shares a screenshot for comparison. Zeemah explains those headers are achieved via custom CSS, possibly by targeting category div classes and adding padding, though the code isn’t publicly available. Finally, sam reveals Discourse does support true sub-subcategories via the hidden site setting max_category_nesting, which can be set to 3 — but only on enterprise or self-hosted instances. They caution against deep nesting due to navigation complexity and provide CLI instructions to modify the setting: ./launcher enter ..., then rails c and SiteSetting.max_category_nesting = 3. The consensus leans toward using tags or CSS for visual grouping, with sub-subcategories available only under specific hosting conditions and discouraged for usability.

Hi all, I have just installed Discourse for the first time and I must first of all say it is extremely nice and overwhelming at the same time, I have struggled in finding out how to make a Sub-Subcategory or something of it’s nature, I have seen another website which uses Discourse to set their forums up how I am trying but I cannot seem to find out how they have used this feature, any help will be greatly appreciated.

Below is an image of their forums.

You should probably use tags more so than creating separate sub-sub-[…] categories, as you can only create categories and sub-categories.

I think I explained my issue incorrectly, I am wondering how I add the headers like “Cfx.re” and “FiveM” so I am able to separate my categories to the relevant area as currently everything is placed under one section whereas on the Forums you moderate its under relevant areas.

Below is a picture of my Categories page on my forums so you can compare what I mean:

Oh, that is obtained through custom CSS. It hasn’t been publicly posted, but you could perhaps try contacting them to see if they’d be willing to post it. Otherwise, I guess the logic would go as far as setting an image based on whichever class is being used for the category div of the category you wish to put a header above, also adding some padding to the bottom of (in this case, ‘Cookbook’).

Discourse has supported this for a while:

To do so you would need to be on an enterprise plan or self hosted Discourse.

The hidden site setting max_category_nesting controls this, you would raise it to 3 to enable sub sub categories.

We still recommend you keep to default nesting levels, forums can get very hard to navigate when nesting is deep.

The hidden site setting is not available in the UI, you will need to enter the container to change it:

./launcher enter ...
rails c
SiteSetting.max_category_nesting = 3