Shopify themes, liquid, logos, and UX
Hello all,
I'm trying to improve my mobile website version and I'm trying to understand why the homepage banner on the mobile version gets cut off and not resized.
page URL is: www.haemiskin.com
desktop:
mobile:
Is there a way to improve this and make it resize to make it a good fit on mobiles?
Thanks!
Hi @FredyP
@media screen and (max-width: 768px){
.banner__media.media {
height: 16rem !important;
}
}
I hope this helps
Best,
Daisy
Hi @FredyP
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(max-width:600px){
.banner__media.media.scroll-trigger.animate--fade-in {
height: 17rem !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi @FredyP
You can create separate image banners for mobile and desktop, then add those custom codes below to hide desktop banner on mobile and vice versa.
Add this code to Custom CSS of destop's banner.
@media (max-width: 749px) {
.banner { display: none; }
}
Ad this code to Custom CSS of mobile's banner
@media (min-width: 750px) {
.banner { display: none; }
}
- Helpful? Like and Accept solution! Or Support me: Buy Me Coffee ❤️
- 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.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024