Change spacing between product image on product page

Change spacing between product image on product page

culley62
Visitor
2 0 0

I need to remove the spacing between the images on my product pages so that you cannot see part of the next image on the sides. I highlighted the spacing which need increasing with a green line in my image. This issue is only on mobile version!

 

culley62_1-1747710139728.png

 

Replies 3 (3)
culley62
Visitor
2 0 0

tim
Shopify Partner
4765 589 1717

I'd scroll down to the "Custom CSS" setting of this section and paste this code:

.product__media-list.slider--mobile {
  scroll-padding-left: 0;
}

.product__media-list.slider--mobile .slider__slide {
  width: 100%;
}

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

GTLOfficial
Shopify Partner
880 182 192

Hello @culley62 
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

@media screen and (max-width: 749px) {
.grid--peek.slider .grid__item:first-of-type {
margin-right: 1.5rem !important;
}
}

result
1.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh