Need to stop sorting my filter after I click on element

Need to stop sorting my filter after I click on element

missclick
Shopify Partner
11 0 0

Hello devs, I need a little help on my theme please!

 

When I click on any element that is in the filter section, it seems that the content is sorted automatically according to what is available on the collection grid.

 

So when I go to "All Product" page, the filter section is full... but as the collection grid is sorted, the elements from my filter disappear. The only way to show it all is to click on "Clear All"

 

I would like to make the filter static, so that no content disappears ever. I know a bit of HTML/CSS but JS is unknown to me. 

Could anyone help me to fix that? Thank you!!!

 

Link : https://www.decodici.shop/collections/all?view=grid 

Replies 3 (3)

caiyuyuyus
Shopify Partner
8 0 1

You can change the filter to a dynamic filter so that other filter elements do not disappear when you filter

missclick
Shopify Partner
11 0 0

Hey thank you for your answer!

Is there just a simple feature to edit or I'll have to write down a whole new code? Could you explain to me how to achieve that? 

missclick
Shopify Partner
11 0 0

Hello ! Does anyone has a solution please ?