How to remove "parent category" in gallery categories bar

Mauer Themes Support Bild How to remove "parent category" in gallery categories bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #2020


    I would like to remove the parent category in the gallery categories bar so that it only shows the categories that I added. How do I do this? or can I remove the bar completely?

    Thank you!

    – Signe


    Hi Signe,

    You can hide the gallery categories menu by going to “Theme Options” > “General”, unchecking the following checkbox and saving the settings:

    In case you want to also hide portfolio project categories, there’s a similar checkbox there for that (called “Show portfolio categories menu”).

    And if you want to hide just the ‘All’ item of the categories menu, you can do that with the following CSS code:

    .cat-item-all {display:none!important;}

    You can add the above code with the Simple Custom CSS plugin. Once you install and activate it, in your Admin Panel please go to ‘Appearance’ > ‘Custom CSS’. Insert the code you see above and save.



    I don’t think this is still relevant to the current version of the theme. Can you provide updated instructions for removing the parent category and the “all”?


    Hello Signe,

    I’ve just checked and can confirm that the above code still works for in the current version of the theme. Please see screenshot. Please check that the CSS has been added in a way that is update-proof. I would recommend adding this code by going to ‘Appearance’ > ‘Customize’ > ‘Additional CSS’. Just as you see in the screenshot.

    Also, I’ve just tested both the “Show gallery categories menu” and “Show portfolio categories menu” in the Theme Options, and they also work. Please try re-saving the Theme Options if you are experiencing these checkboxes not working.

    As for hiding the parent category, basically you can hide any category from the categories menu by specifying its id in the following manner:

    .cat-item-8 {display:none!important;}

    Please replace the 8 with the id of the category you would like to hide. To find the ID of a given category, please go to its edit screen in the admin and see the ID in the URL. Here is an example: screenshot.

    Kind Regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.