Help with accordion style menus and buttons on page

LPH
Tourist
7 0 1

Hi community!

I have created an accordion style menu on my shopify page with Buildify but everytime I load the page, it has all the main sections expanded.

Is there anyway to keep them all closed upon the page loading until the user opens each section ?

The page is 

https://legacy-print-house.myshopify.com/pages/library

 

Thanks so much in advance for the help!

0 Likes
MyCodeMagic
Excursionist
11 4 2

Hi

I think you add an active class as default you remove this class

Otherwise, you share liquid code or js

 

Screenshot_10.png 

0 Likes
LPH
Tourist
7 0 1

Oh ok--I sort of understand why its open, bu I'm not really sure what you meant by removing it..should I removed completely or change that to default or "inactive" or something?

thanks again

LPH

0 Likes
MyCodeMagic
Excursionist
11 4 2

Hello @LPH 

please share HTML or liquid and JS code

0 Likes