Hide categories from product page

Need help? Please give a detailed explanation of your problem.
Post Reply
User avatar
Agalassi1792
AllPro Expert
AllPro Expert
Posts: 500
meble kuchenne Mikołów Knurów Czechowice-Dziedzice
Joined: Tue Nov 18, 2014 12:42 pm
Website: apwt.bluezenith.com

Hide categories from product page

Post 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!
User avatar
NoahBaldwin
Support Team
Support Team
Posts: 108
Joined: Fri Jan 04, 2019 11:21 am
Website: www.allprowebtools.com

Re: Hide categories from product page

Post 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;}
User avatar
Agalassi1792
AllPro Expert
AllPro Expert
Posts: 500
Joined: Tue Nov 18, 2014 12:42 pm
Website: apwt.bluezenith.com

Re: Hide categories from product page

Post by Agalassi1792 »

Great, thanks! This helps.
Post Reply