I’m hiding/showing sections using .hide(), the expected behavior is that with the section hidden the below sections would move up to fill the void, same as when I delete the section from the editor. How can I achieve this behavior? Or do I need to layer multiple sections someone how on top of each other?
Try using .collapse() instead.
Wonderful thank you, would it be best to use .hide() aswell on the element if the collapsed is true? I’m hiding forms and don’t want risk of the collapsed elements still affecting the page.
No I don’t think that is necessary.