Question:
Hi all - I am attempting to create a collapsible drop down FAQ section that looks like an accordion in Wix Studio. I would like the base state of the accordion to be all collapsed, and then when a section is expanded, everything below the accordion is pushed down. I’m unable to figure out how to do this using either accordion elements or multi-state boxes as the dropdown just appears over top of the content beneath it. Any ideas?
I’ve tried using WIX FAQ, which is responsive and does push down other elements, but the lack of padding options means it doesn’t work for my site as it ruins the spacing of elements on my site when viewing on different screen sizes.
Product:
Wix Studio
Hi, Stephan_van_der_Watt !!
In such cases, please try using the ‘Stack’ feature. I tested it now, and it seems like it should achieve the behavior you’re looking for. Let me explain the steps for using Stack. Select the dropdown on your page, and while holding the Shift key, select the element below the dropdown. Once both elements are selected, an option to stack them should appear, so choose that option. This will stack the two elements, ensuring that the distance between them remains fixed. In other words, when the dropdown expands, the element below it will be pushed down, and when the dropdown is collapsed, the element below will be pulled back up simultaneously.
1 Like
Absolute legend, thank you so much!
You’re welcome! Let’s enjoy a fun Wix Studio life!