Home Forums WoodMart support forum Hiding Specific Category On Product Categories Widget on Shop Pages

Hiding Specific Category On Product Categories Widget on Shop Pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #508195

    konuk.berna
    Participant

    Hi, I am using Product Categories widget in shop pages. My shop page is: https://icimdengeldi.com/tum-urunler/
    But I want to exclude a specific main category on widget. Is it possible not to show a specific main category and its sub categories on shop page sidebar? Thanks.

    Attachments:
    You must be logged in to view attached files.
    #508363

    Hung Pham
    Keymaster

    Hi konuk.berna,

    Thanks for reaching to us.

    Sorry to say but the Product Categories that you are mentioning are added in the Sidebar of the Shop and Category pages. The Product Categories showing here are added through a widget Product Categories that can be found under the Dashboard > Appearance > Widgets > Shop page Widget area

    But currently this default Widget doesn’t contain an option to show or hide specific Categories unfortunately.

    If there is some specific Category that you want to hide on the Sidebar then kindly, mention that and I will provide you the Custom CSS in this regard, if applicable.

    Regards,

    #508433

    konuk.berna
    Participant

    Hi, I want to hide “Tekil Ürünler” and its subcategories. Thanks.

    #508604

    Hung Pham
    Keymaster

    Hi konuk.berna,

    Please try to use the below custom CSS code and paste it to Theme settings > Custom CSS > Global CSS code section

    #woocommerce_product_categories-2 .product-categories .cat-item-97{
    	display: none;
    }

    Regards,

    #509408

    konuk.berna
    Participant

    It worked. Thank you!

    #509507

    Hung Pham
    Keymaster

    Hi konuk.berna,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Hiding Specific Category On Product Categories Widget on Shop Pages’ is closed to new replies.