Dear Community, Im using Theme/Version: Sense 15.3.0
Context: I added a Custom Liquid section with a blue background. On desktop it hugs the content perfectly. On mobile (iPhone Safari), the section becomes much taller than the content, leaving a long blue area after the last paragraph. Android/Chrome I can’t test bc I do not have such a mobile device.
What I’m seeing:
-
Desktop
correct height. -
iPhone Safari
large extra space below the content (same section)
see store url preview:
What I’ve tried (no luck so far):
-
Force
height:auto,min-height:0,overflow:visible/hiddenon the section and inner containers. -
Zero theme spacing vars on this section only:
--section-padding-top,--section-padding-bottom,--spaced-section-spacing(via.shopify-section:has(.friends-section)and also via a custom wrapper class set in the section settings). -
Moved the blue background onto an inner wrapper (
.friends-bg) and left outer wrapper neutral, so only content height should paint blue. -
JS fallback that adds a class to the parent
.shopify-sectionon mobile to zero those vars. iOS Safari still shows extra space.
Any pointers or a small CSS snippet that reliably makes the section height hug content on iOS Safari would be hugely appreciated. Thanks! ![]()