Shopify themes, liquid, logos, and UX
Hi,
Here's a preview linked to the draft theme I'm working on: https://gww83pkp2ac12fkz-65019576489.shopifypreview.com
I would like the banner image on my home page to be full viewport height across all devices. I tried adding the following code to theme.liquid, but it isn't working - on my desktop, I am still having to scroll down the page slightly to reach the bottom of the image):
<style>
.banner {
height: 100vh;
}
</style>
Any help would be appreciated. Thanks!
Hi @ShootsDraws
Please update your code to this
.banner {
height: calc(100vh - 39px);
}
Best Regards,
Dan from Ryviu
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thanks @Dan-From-Ryviu
For some reason, I'm not seeing any change though. When viewed via mob, part of the footer is also visible. I'm presuming it's something I'm doing wrong.
Can you advise where I should place the code? I currently have it at the bottom of theme.liquid, just above </body>. Should it be somewhere else?
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024