Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

Help with sildeshow image sizing

Solved

Help with sildeshow image sizing

Ecomowner
Pathfinder
120 6 25

Hello I am having trouble with my slideshow image showing properly on mobile for the url below  https://zenfactr.com/products/joint-back-neck-pain-support-pillow

Does anyone know who to fix it so the image isn't getting cut off on mobile , it shows up correct on desktop.

Accepted Solution (1)

Moeed
Shopify Partner
7682 2067 2546

This is an accepted solution.

Hey @Ecomowner 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
    object-fit: contain !important;
}
}
</style>

RESULT

Moeed_0-1747235164384.png

 

If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 3 (3)

BiDeal-Discount
Shopify Partner
779 101 173

Hi @Ecomowner 

I see your product page have many slideshow, can you point out which one by a screenshot?

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
BiDeal-Discount
Shopify Partner
779 101 173

@Ecomowner 

if it's this section:

Screenshot 2025-05-14 at 22.12.02.png

 

let try this Custom CSS:

@media screen and (max-width: 749px) {
  #shopify-section-template--19205516624102__slideshow_zfeC8Q .slideshow__media img{
    object-fit: contain;
  }
}

 

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp

Moeed
Shopify Partner
7682 2067 2546

This is an accepted solution.

Hey @Ecomowner 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
    object-fit: contain !important;
}
}
</style>

RESULT

Moeed_0-1747235164384.png

 

If I managed to solve your problem then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications