Best Design Practice for hidden mobile elements

Hey There! I’ve gone through the discussion but haven’t found my particular issue. Hoping someone can help here.
I followed this tutorial https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only and it worked like a charm.
Only…the elements are now hidden on the browser view but there’s a huge white space before the next grouping of elements.
I’m sure this is an easy design fix but it’s eluding me.
screenshots attached:
#1 shows the hidden elements code
#2 shows a portion of the hidden elements
#3 shows my preview

Any help would be greatly appreciated!

Hello,

The issue should be resolved by double-clicking the Adjust Page Height handle:

You should always consider the guidelines from following article when working with hidden/collapsed elements.

Corvid: How Page Layout Is Affected When Elements Change Size

Thank you so much!!! Exactly what I was looking for.