Collapsed boxes positioning not working

Since Wix doesn’t offer tabs i have to try resort to over engineered nonsense with collapsing and expanding but the rules are not working according to your documentation.

https://support.wix.com/en/article/corvid-how-page-layout-is-affected-when-elements-change-size

I have 2 boxes that are within 50px of each other yet when i hide the top one the bottom one is expanded but stays where it is. These rules are somewhat ridiculous but acceptable given the lack of tabs that can be used with database connected components. If only the rules worked !!!

Can someone please help me understand why the rules are not working? I want to be able to click buttons and show and hide components giving a tab -like feel

have a look at these examples to help you understand the workings:

https://www.wix.com/corvid/example/collapse-elements

https://codequeen.wixsite.com/double-collapse/double-collapse-code
https://www.youtube.com/watch?v=HmTkf5af0NE - video for above tutorial

Also, the api reference itself:
https://www.wix.com/corvid/reference/$w.CollapsedMixin.html

1 Like

thank you - https://www.youtube.com/watch?v=HmTkf5af0NE - video for above tutorial

really helped me.