New Shopify Certification now available: Liquid Storefronts for Theme Developers

Different size image on Desktop versus Mobile- Dawn Theme

FrostBC
New Member
6 0 0

Hi, I want my home page image to show up smaller (or cropped preferably) on Desktop. It’s optimized for a mobile device so in Desktop it’s too long. How can I do that?

 

 

 

Replies 3 (3)
Dan-From-Ryviu
Shopify Partner
5626 1036 1064

Hi @FrostBC 

Please share your store link to check

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

FrostBC
New Member
6 0 0
23a298.myshopify.com

Password is “FrostBC”
Dan-From-Ryviu
Shopify Partner
5626 1036 1064

You can try to add this CSS code to Custom CSS of that section in theme customize 

@media screen and (min-width: 750px) {
.banner { max-height: 500px }
.media>img { object-fit: contain; !important; }
.banner__media { background: #fff; }
}

Screenshot 2023-10-20 at 10.12.29.png 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now