I’ve re-adjusted my website so that it contains a series of strips that are collapsed on load and can be opened one by one (they are a series of portfolio videos).
The elements all collapse and expand properly, but for some reason the overall page height doesn’t adjust. When all elements are collapsed you can simply scroll past the footer and down loads of black space, to where the end would be if all elements were expanded.
Any idea on how to solve this?
You must make sure the 70/10 ratio rule is applied. So then I guess it would work. Read more about it here:
Hi Andreas,
Thanks very much, but I’d checked that previously and that doesn’t seem to be the problem. All the elements of the website collapse and expand properly, it is after the final element that doesn’t collapse. Where the page should finish, it simply has a large expanse of blankness with absolutely no elements within it that could be affected by the 70/10 ratio.
To confirm: I’m not currently using a footer, my site ends on the final strip. This final strip expands and collapses perfectly, but there is a large space after it which doesn’t appear in editor, but is enormous on preview.
What is the pixel height between your strips and also between the last strip and the footer? If you have more than x pixels between strips collapse will behave different.
All the strips are touching the strip above, so 0 pixels distance, to avoid unwanted gaps (no overlap). There is no footer on the page, but the final strip is the same as before and is 0 pixels from the strip above.
@hflewitt Can you send the url?
@andreas-kviby https://www.henryflewitt.com/
The “Audio Post Production” section seems to load strangely as well at the moment
@andreas-kviby any ideas? Unfortunately haven’t been able to solve it yet
Hi guys,
I had the same issue. Henry, try to use this - https://www.wix.com/code/home/forum/community-discussion/collapse-not-working
It worked for me (and also made me a bit angry that I spent too much time trying to fix it and all I needed was a simple double-click :-D)
Good luck
r
Thank you so much!!!