Skip to content
Public Ticket #5107

Disabling a Category from displaying

Conversation thread

Grant Taylor replied

Customer Reply

Great, thank you.

PenciDesign replied

Staff Reply

Hi,

If you want to remove 2 categories with IDs for example:   50 & 55

You can use the code like that:

\
.widget.widget_categories ul li.cat-item-50{ display: none; }\
.widget.widget_categories ul li.cat-item-55{ display: none; }

Best Regards,

PenciDesign

Grant Taylor replied

Customer Reply

Hi, thank you for your reply. If I want to delete more than 1 category, can I insert several and separate them by commas?  OR, do I need to create a new, separate line for each category I don't want to display?  Thank you.

PenciDesign replied

Staff Reply

Hi,

What's category you want to delete the?

If you want to delete category "_Theme" - please add more this code to Customize > Custom CSS:

\
.widget.widget_categories ul li.cat-item-31{ display: none; }\

If you want to delete another category, please change number 31 on the above code to category ID of that category - check this guide to know how to find ID of a category.

Best Regards,

PenciDesign

Grant Taylor started the conversation

Conversation Start

How can I "disable" a Category from showing up on footers and posts pages? Do I have to delete the Category altogether? I would like to keep some of my Categories, but is there a way I can keep the Category Name but not allow it to show on page?  (I just can't find a setting for this in Customize.)  Thank you.

Want to join this conversation or access attachments? Sign in first.