Collapsible Subcategories in Sidebar

I’ve seen a few posts about this but none have definitive answers.

Does the Unreal Engine Discourse (featured on the Discourse “Discover” page) have a completely custom theme, or are there components that can achieve this?

I also notice they display the subcategories as top level links when you click into one, and then beneath it lists all the topics. It looks like what’s happening here is setting “Subcategory List Style” to “Rows” on the parent category to achieve that?

It looks like this may not be something solvable with a component.

However I was able to generate JS and CSS that achieves this with a little AI help, if anyone is interested I am happy to share.

2 Likes

You’ve seen this I take it:

And this:

By all means, do share your code. Of course, the challenge with this like this is the ongoing maintenance.

1 Like