hi im looking to have the filter tabs collapsed by default in the collection menu. right now they’re all open and no option to make collapsed. its the nordic theme
AI-generated summary
A store owner using the Nordic theme wants collection-page filter tabs to be collapsed by default. The theme does not appear to offer a built-in setting for this, so replies suggest it requires a small theme code change rather than a Search & Discovery configuration.
The owner later found and removed the open attribute in the filter markup, which fixed the desktop filters; mobile already behaved as desired. A new issue remains: each filter tab now shows the word “reset,” and the owner wants it replaced with a dropdown/arrow indicator.
Suggested approaches include duplicating the theme before editing, checking the collection filter <details> markup and any JavaScript that forces filters open, and testing desktop and mobile separately. The latest concrete code suggestion is to add JavaScript such as selecting .facets__disclosure elements and setting filter.open = false plus removing the open attribute. The discussion is partially resolved but still open regarding replacing “reset” with an arrow.
Hey @wingedmonkey
Welcome to the community!
That’s a bit of Javascript work, can you share your store URL and password if enabled?
Best,
Moeed
the url is www.wingedmonkey.net
the problem is solved?
no it has not been solved!
If Nordic does not expose this in Customize, it is usually a small theme-level change rather than a Search & Discovery setting.
I would make a duplicate of the theme first, then find the collection filter markup, usually the <details> element around each filter. If it is rendered with open, remove that default; if the theme adds open through JavaScript, change that initialization instead.
Test the collection page on mobile too, because themes often use separate filter markup there. I would avoid editing the live theme until the duplicate behaves correctly.
Collapsing filters can reduce first-screen noise, but keep the selected state and active-filter count visible. I’d leave the highest-use group open on desktop and verify the mobile drawer separately. The useful signals are filter opens, zero-result states and collection exits — not just “collapsed looks cleaner.”
i found the word open and was able to take that out for the desktop. mobile is already working as i want it to. but now there is the word “reset” by each filter tab - i want it to be a “primary-focus” arrow i believe, or a “drop down arrow”
Hey @wingedmonkey
hope you’re doing well!
If Nordic doesn’t have a built-in setting for collapsed filters, it’ll likely need a small Liquid/CSS/JS customization. I’d check the theme’s collection/filter settings first, then jus the filter accordion to start closed
do you know what the small customization is because there is nothing in theme settings
add the below code in your js file,
global.js or you can also write at the bottom of your theme file
document.querySelectorAll('.facets__disclosure').forEach(function (filter) {
filter.open = false;
filter.removeAttribute('open');
});