This topic has 4 replies, 2 voices, and was last updated 1 years, 11 months ago ago by Tony Rodriguez
I want to hide some of the existing categories without deleting them, as I want them to be present within the categories without appearing on the store page
Hello @mohmmad,
Which categories do you wish to remove from the Shop page? Could you please provide a screenshot so that I can review and assist you further, if possible?
Best Regards,
8Theme’s Team
i want to hide these catagories https://prnt.sc/XTCseP0vlgLc from the shop site without delete them from ( product>>>catagoreis) https://prnt.sc/9splqyAXmmtJ
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
Tagged: categories, hide, page, shop, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up