On mobile showing a bit of 2nd photo

Solved

On mobile showing a bit of 2nd photo

TheDuckDuck
Excursionist
15 1 2

As you can see in the image, on mobile it shows a bit of the 2nd image for some reason, how can I center the one image and make it so the others don't show.

TheDuckDuck_2-1730083398102.png

Store URL is: https://dododuck.ca/products/dodo-duck

Accepted Solution (1)

LizHoang
Shopify Partner
1251 159 195

This is an accepted solution.

Hi TheDuckDuck,

This issue can be resolved simply by CSS codes added to your theme codes. Please go to your Shopify Admin > Online Stores > Themes > Customize > Custom CSS to add the custom code I'll attach below:
@media screen and (max-width: 600px){
.product--thumbnail_slider.product--mobile-hide li.product__media-item {
    width: calc(100% - 3rem) !important;
}
}

Here would be the result after you add this custom CSS code to your theme: https://prnt.sc/Os70XPmtj1dQ.

Hope this helps! Should you have any further questions, please feel free to let us know.

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

Check our Joy Rewards & Loyalty Program

View solution in original post

Replies 3 (3)

Guleria
Shopify Partner
4105 804 1155

Hello @TheDuckDuck ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your section-main-product.css file and paste the following code at the bottom:

@media screen and (max-width: 378px) {
.product__media-list .product__media-item {
    width: calc(100% - -2rem - var(--grid-mobile-horizontal-spacing));
}
}

 

If you need help with code part you can contact me for services

You can find the email in the signature below.

Thanks

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

LizHoang
Shopify Partner
1251 159 195

This is an accepted solution.

Hi TheDuckDuck,

This issue can be resolved simply by CSS codes added to your theme codes. Please go to your Shopify Admin > Online Stores > Themes > Customize > Custom CSS to add the custom code I'll attach below:
@media screen and (max-width: 600px){
.product--thumbnail_slider.product--mobile-hide li.product__media-item {
    width: calc(100% - 3rem) !important;
}
}

Here would be the result after you add this custom CSS code to your theme: https://prnt.sc/Os70XPmtj1dQ.

Hope this helps! Should you have any further questions, please feel free to let us know.

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

Check our Joy Rewards & Loyalty Program

Dan-From-Ryviu
Shopify Partner
11564 2264 2447

Hi @TheDuckDuck 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

 

@media (max-width: 749px){
    .product .product__media-list .slider__slide {
        width: calc(100% - 3rem) !important;
    }
}

Screenshot 2024-10-28 at 14.13.33.png

 

- Helpful? Like & Accept solution!
- 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.