Home Forums WoodMart support forum Hide some particular directory from showing in page title

Hide some particular directory from showing in page title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #196323

    horny_fungus
    Participant

    Hi, can you please help me hiding a particular category from being shown via “Categories in page title” Woodmart feature.
    I tried using the code provided here – https://xtemos.com/forums/topic/how-to-hide-empty-categories/ but it does not help me because the category I need to hide contains hidden products, so it’s not considered empty by function but it is empty for customers.

    #196361

    Hello,

    You need to hide those particular categories by using Custom CSS code.

    For example the following Code will hide the category whose id will is 42.

    .woodmart-product-categories.has-product-count .cat-item-42 {
    display: none;
    }

    You can hide the categories by adding it for specific categories.

    We will mark your question as feature request and will add some option for this in the Theme Settings in the near future coming update of the Theme.

    Best Regards.

    #196375

    horny_fungus
    Participant

    Thank you very much. It worked, although in my case it was hasno-product-count.
    Please consider implementing filter functionality to “Categories in page title” to avoid such CSS hiding work-arounds.

    #196382

    Hello,

    You are Welcome.

    We will keep your suggestion in mind and will add some functionality about this in the Theme Settings in the near coming update of the theme.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

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

The topic ‘Hide some particular directory from showing in page title’ is closed to new replies.