[Help] Blank Space After Drop Down

Hey Team,

I’ve added some code to my website so that elements work as dropdowns, revealing a page section when clicked and disappearing when another option is selected.

The only problem being, I’m left with a large ‘blank’ area on the live site when the elements are hidden.

During Editing:

Published Site:

I’m trying to re-size the page but it of course doesn’t re-size smaller than the page content.
See the page here for reference; https://ross-jones.wixsite.com/a2z-food/services

You’ll see a big blank section at the bottom. How can I reduce the size of this area?

Ross

Have you looked at the various tutorials for similar ideas.
https://www.wix.com/corvid/example/collapse-elements

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

I have had similar when trying to have a footer move up the page when hidden items were collapsed on a page and not taking up any space.

To solve it, I had to delete the strip with my hidden elements in using the KEYBOARD cut command, move the footer up to where it should be when the hidden elements are collapsed, then simply pasting back in the cut strip again using the KEYBOARD paste command.

You can try with your own elements, I would suggest that they are all grouped or all put in one container box so that you can simply cut and paste them as one.

You must use the keyboard cut and paste command and not the Wix Editor own menu commands of cut and paste etc otherwise it will not work.

Thank you so much! That’s worked perfectly for me. You’re a star!