Sense Theme - Resize banner between desktop and mobile

Sense Theme - Resize banner between desktop and mobile

FredyP
Visitor
1 0 0

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:

1.jpg

mobile:

2.jpeg

 

Is there a way to improve this and make it resize to make it a good fit on mobiles?

 

Thanks!

Replies 3 (3)

DaisyVo
Shopify Partner
2301 283 329

Hi @FredyP 

 

To complete your requests, please follow these steps:
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

 

@media screen and (max-width: 768px){
.banner__media.media {
    height: 16rem !important;
}
}

 

 

Here is the result: image_360.png

 

I hope this helps

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

websensepro
Shopify Partner
1689 188 224

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;
}
}

websensepro_0-1736426275475.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

Dan-From-Ryviu
Shopify Partner
10712 2120 2238

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.