Hide certain product category - by cheyingtan

This topic has 8 replies, 2 voices, and was last updated 2 years ago ago by Rose Tyler

  • Avatar: cheyingtan
    cheyingtan
    Participant
    June 22, 2017 at 05:44

    Hi there,

    My client want to hide certain product category from displaying in the sidebar while still showing other categories as normal. Is it possible to be done with CSS, can u help?

    Thanks!!

    7 Answers
    Avatar: amzy
    Amzy Leel
    Participant
    June 22, 2017 at 07:02

    Hello,

    Yes, that is possible by css.

    to do that let us know your web site url where you are displaying categories in sidebar.

    Avatar: cheyingtan
    cheyingtan
    Participant
    June 22, 2017 at 08:58

    The site is still under development, and I set the shop page as home for now for demo purpose to the client. The product category that I would like to hide is “WOOCOMMERCE WALLET CREDIT” as it serve no purpose but to enable the wallet system to the website. I put the site url in private content. Thanks!

    Please, contact administrator
    for this information.
    Avatar: amzy
    Amzy Leel
    Participant
    June 23, 2017 at 06:32

    put this css code in,

    8theme options >> styling >> custom css >> global custom css

    .cat-item.cat-item-56 { display: none; }

    Avatar: cheyingtan
    cheyingtan
    Participant
    June 23, 2017 at 12:40

    Hi I had added in the custom css as per your instruction and it’s not working, that category still shown, pls have a look? Thanks!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 26, 2017 at 08:36

    Hello,

    Please change previous code to:

    .sidebar .cat-item.cat-item-56 {
        display: none;
    }

    Regards

    Avatar: Jozef
    Jozef
    Participant
    November 9, 2022 at 11:17

    Hello,

    Please change previous code to:

    .product_meta {
    display: none;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 9, 2022 at 13:39

    Hello @Jozef,

    The custom CSS code depends on your goal. If you need our assistance, please submit a new topic here – https://www.8theme.com/forums/xstore-wordpress-support-forum/ and describe your request in more detail.

    Regards

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

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

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