Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

not show subcategories.

I want. Do not show subcategories.

Subcategories do not appear in the menu category. Because it takes up too much space.

how can I do it?

Comments

  • Up to date.

  • Up to date.

  • R_JR_J Admin

    If you want to modify your forum, you should try getting basic skills in CSS. Wht you are asking for could be easily achieved with CSS. If you inspect those HTML elements, you will see that child categories have another class.
    Depending on their place in the category "tree" they have classes "Depth1" for main categories, "Depth2" for child categories, "Depth3" for a child of a child category and so on.

    Something like that should hide all Depth2 subcategories:

    .PanelCategories > Depth2 {
        display: none;
    }
    

    If you have deeper nested categories you can hide them like that (you see the pattern, U guess):

    .PanelCategories > Depth2,
    .PanelCategories > Depth3,
    .PanelCategories > Depth4,
    .PanelCategories > Depth5,
    .PanelCategories > Depth6 {
        display: none;
    }
    

    If you have created your own theme, add that to your custom.css. Otherwise get the CSSEdit plugin and use that to add the css code

Sign In or Register to comment.