Reply 345062 to: Hide some categories from shop page

Avatar: Tony Rodriguez
Tony Rodriguez
Support staff
January 25, 2023 at 14:51

Hello, Mohammad,

Thank you for your inquiry. We understand that you would like to remove a particular product category from your page. We can assist you with this by using Custom CSS code.

First, you will need to inspect your page and select the product category you wish to remove. You will then be able to see the ID of that particular category in the code. Please refer to the screenshot provided: https://postimg.cc/B8TMBKNg

Once you have the ID, please copy and paste the following CSS code to XStore >> Theme Settings >> Theme Custom CSS >> Global CSS. Be sure to change the ID in the code with the ID of the product category you wish to remove. This should solve your issue.

.sidebar-widget ul li, .widget_product_categories.sidebar-widget ul li.cat-item-37 {
    display: none !important;
}

Note: change the ID in the given code with your product category ID.

We hope this information is helpful. If you have any further questions, please do not hesitate to contact us.

Best Regards,
8Theme’s Team

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.