Summary | Indents / nests selected categories or subcategories in the sidebar | |
Repository | https://github.com/Lillinator/discourse-nested-categories | |
Preview | Preview on Discourse Theme Creator | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
This is a simple theme component that allows admins to select categories or subcategories to indent (or nest) in the sidebar. Most people will want to indent only subcategories of course, to make them look nested, but you can indent any of your listed categories. Works in both desktop and mobile view, as well as header drop-down menu. Thanks to @dax for some of the code.
There is one setting - a category selector:
Screenshot of result in sidebar categories section: