pburki
October 3, 2025, 3:07pm
1
Hello
I would like to have all items of my accordion (actually, there is only one element) closed by default. Even if I did not enter any value in the “Expand item indexes”, the first item is opened. Can I have it closed by default ?
Thanks
Philippe
Ferry
October 3, 2025, 3:41pm
2
It is supposed to be closed if not set to open.
Check this threat about the accordion and check the settings described in the post the link refers to
Hi @Dawson ,
it seems like the issue is “display:grid” on the “content” element inside the accordion.
[CleanShot 2025-10-01 at 11.23.07@2x]
If you want to set the content as grid, you should wrap the inner elements inside the new element (block), and then set the display:grid there.
This is because we hide/show the content based on the open/close status, and if you set display as a grid, it will override our styles.
Also, you don’t need that container wrapper you have around the “Item”. You…