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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024