Configure Vertical Filter Menu to be closed on All Products collection page

BrinleyW
Shopify Partner
15 1 1

Hi

I have just finished building my first Shopify store using the Dawn theme (No apps) and I am happy with how it turned out. There is obviously quite a bit of fine tuning still to do and the one I am presently stuck on, that I would appreciate some help with, is the Collection page Left Filter menu.

 

Basically, I am ok with the accordian filters first block being open as standard, but I want the All Products collection page accordian to be closed.

 

Unfortunately I am new to shopify and I have yet to discover the code structure required to allow changes to a specific collection page.

 

If anyone is able to help in this matter, or point me in the right direction, it would be greatly appreciated

 

Cheers

Brinley

 

Replies 2 (2)
BrinleyW
Shopify Partner
15 1 1

Hi Again

Thanks again for your help - I added your code however it closed the the first accordian on every collection page. 

I only want the "All Products" Collection page (accessed via the All Products link in my header menu) to have the first accordian closed.

The code you provided has given me an better understanding of what is required to tweak the code, and  for that you have my thanks.

 

 

BrinleyW
Shopify Partner
15 1 1

Hi

Thanks very much  for your help - just to clarify, this change will only effect the "All Products" collection page and not all collection pages?