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 & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025