Page 1 of 1

Hide categories from product page

Posted: Thu Jan 10, 2019 5:18 pm
by Agalassi1792
Hello,

How can I hide a product category from the sidebar? This is not an 'empty' category - the category has products in it, but I do not want that particular category to show up publicly in the sidebar, while keeping other categories showing up in that area. Is this possible to do?

Let me know, thanks!

Re: Hide categories from product page

Posted: Thu Jan 10, 2019 7:39 pm
by NoahBaldwin
You will find that each category has an id field such as:

Code: Select all

<div class="productsidebar list-group" id="prodcategory7">
You can adjust your css file like the following:

Code: Select all

#prodcategory7 {display:none;}

Re: Hide categories from product page

Posted: Fri Jan 18, 2019 9:45 am
by Agalassi1792
Great, thanks! This helps.