Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi Everyone,
I'm facing a challenge with the banner height settings on my website. When I select 'Large', it looks fine on mobile devices, but appears a bit too short on desktop. Conversely, if I choose 'Adapt to first image', the desktop view is almost perfect (still a bit to large), but it doesn't work well on mobile. Any suggestions on how to resolve this issue while maintaining optimal display on both platforms would be greatly appreciated.
Website: Aromidy.com
Password: Aromidy2023
Thanks in advance for your help!
Adopt to first image
Large
Solved! Go to the solution
This is an accepted solution.
Hi @Aromidy ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media screen and (min-width: 750px){
.banner--large:not(.banner--adapt) {
min-height: 100vh !important;
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @Aromidy ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media screen and (min-width: 750px){
.banner--large:not(.banner--adapt) {
min-height: 100vh !important;
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This worked like a charm. Thanks Oliver!
Best Regards,
Kai
This resolved my issue FINALLYYYYY!!! THANKS A LOT!!!