Remove Filter

Topic summary

A user needed to remove the “Material” filter from a specific collection page (Couples collection) while keeping it visible on other collections.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add custom CSS targeting the specific collection using data-collection-link attribute
  • The code uses display: none !important to hide the Material filter button and panel specifically on the /collections/for-couples page

Outcome:
The solution was successfully implemented and resolved the issue. The user confirmed it worked as intended.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi,

Can I remove a filter from a specific collection page and keep it on others?

I want to remove Material filter from Couples collection but keep it on another.

1 Like

Hi @SaucyPeach

TRy this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
section[data-collection-link="/collections/for-couples"] #c-accordion--6__main > button:nth-child(3),
section[data-collection-link="/collections/for-couples"] div#c-accordion__panel--6__main-list-2 {
    display: none !important;
}

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

2 Likes

Amazing, thank you for your help!!