Please or Register to create posts and topics.

how to collapse parent categories

how do you have the forum home page to look like this support forum where all the sub-categories are collapsed down until you click on them to reveal the sub-categories, this is what i currently have but it makes the page very long, having to scroll forever to get to the bottom of the page

Uploaded files:
  • Screenshot_2-11-2025.jpeg
Quote from mickg  Spam deleted on November 2, 2025, 10:06 pm

how do you have the forum home page to look like this support forum where all the sub-categories are collapsed down until you click on them to reveal the sub-categories, this is what i currently have but it makes the page very long, having to scroll forever to get to the bottom of the page

Asgaros Forum doesn’t have a built-in way to collapse parent categories, but you can do it with a bit of CSS/JS.

For example, hide subforums by default with CSS:

.forum-categories .subforums { display: none; }

Then use a small JS snippet to toggle them when the parent is clicked.

It works like an accordion and is pretty straightforward to set up.