Shopify themes, liquid, logos, and UX
Hi, I cannot find anyway to remove the extra space from my Image banner section between the Header & Footer. It appears when the page is stretched, especially on mobile view.
And this on desktop:
Have tried everything but cannot find a way to manipulate so that the footer would just rise and eliminate the extra space.
Website URL: https://www.furrepets.com/
Thanks in advance for your help!
Hi @JM_FP
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.banner__media> img:not(.zoom):not(.deferred-media__poster-button) {
height: 100vh;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Thank you Richard. Unfortunately this hasn't fixed the issue. It is still coming up with the whitespace gap instead of the footer just moving up.
I've minimised the issue slightly but adding these 2 lines in the section-image-banner.css
@media screen and (min-width: 750px){ .banner { min-height: 100rem !important; flex-direction: row; } }
@media screen and (max-width: 749px){ .banner { min-height: 60rem !important;flex-direction: row; } }
This merely elongates the banner image so the white space gap does not appear unless the window is very long vertically. The other issue is it pushes the footer with the email sign up below the fold, so while there is less potential for the white gap to appear, it does push the email CTA down below the fold.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025