Hide Filter option for a specific collection

Hi there,

How can I hide a specific Filter option (i.e. Gender) for a specific collection.

I am asking this because there is no possibility to have multiple Filter combinations that can be picked per collection.

Can I use the Custom CSS of a collection to specify to hide?

Website: https://venga-store.com/collections/festival-outfits-women

Theme: Dawn

Thanks for your help!

1 Like

@miltokas

Hello,

You can hide by custom Css just copy the below code and paste above in theme.liquid file.

Online store >> edit code >> theme.liquid


I hope it is helpful.

Thank you

Hi @miltokas

check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
div#shopify-section-template--21622345466188__product-grid .facets__disclosure-vertical.js-filter:first-of-type {
    display: none;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

这样会让所有集合页都被隐藏了