Hi,
I would like to remove one category from showing up in my default WooCommerce Shop page. I will call that Category on a different page using a Product Slider. I just don’t want the “Prints” category to show up on my default shop Page.
Anyone know how to do this?
Shop Link for reference:
https://www.gregorybeylerian.com/shop/
Thanks,
GB
Hey gb,
Please try the following in Quick CSS under Enfold->General Styling:
.sidebar .product-categories li.cat-item-69 {
display: none;
}
Best regards,
Rikard
Hey Rikard,
I posted the code, cleared the cache and checked with 4 browsers, and with Opera the “prints” categories are removed However the print products themselves are still visible in the store.
I am wondering if the other approach would be to build a custom shop page and have the added benefit of the Layout builder? But I heard this was more complicated and has its own issues?
Thanks for all the support!
GB
Hi GB,
Please try this CSS as well:
.html_entry_id_3483 li.product_cat-featured-print-prints {
display: none;
}
Best regards,
Rikard
Hi Rikard,
Thanks, that worked for the “Featured Prints” Also added the following code to remove the “georgie leahy prints”:
.html_entry_id_3483 li.product_cat-georgie-leahy-prints {
display: none;
}
It worked to remove those prints as well from that page but the layout is just showing 2 columns now instead of 3 which it is set to.
I added the featured print back and it returned the layout to 3 column.
However what code would I use to just show “Featured Print” in the shop Nav bar? (the code you provided removes all the prints from sidebar)
OK, I figured it out. I created a new “Featured Print” Parent Category and then re applied your code which removed the other print categories.
So its all figured out!!
Thanks again!
GB