Hide some categories from shop page - by mohmmad

This topic has 4 replies, 2 voices, and was last updated 1 years, 11 months ago ago by Tony Rodriguez

  • Avatar: mohmmad
    mohmmad
    Participant
    January 24, 2023 at 23:56

    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

    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    January 25, 2023 at 06:15

    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

    Avatar: mohmmad
    mohmmad
    Participant
    January 25, 2023 at 10:47

    i want to hide these catagories https://prnt.sc/XTCseP0vlgLc from the shop site without delete them from ( product>>>catagoreis) https://prnt.sc/9splqyAXmmtJ

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.