Shopify themes, liquid, logos, and UX
Hello community!
I am currently building my product page, and I’m trying to make the main product image have no padding/ be full width on mobile only.
Look at the images below for a visual presentation of what I’m looking to do.
Store = https://petnshop.ca/products/original-calming-dog-bed
have a great day!
Hi @PetNShop
This is Mike from Omega
You can try my solution:
1. Open Theme -> Edit Code
2. Open base.css or theme.css in Assets folder and paste code below to the bottom of file
@media screen and (max-width: 749px) {
.grid--peek.slider li.grid__item:first-of-type {
margin-left: 0;
}
.product__media-list li.product__media-item {
width: 100%;
}
}
Hope my answer will help you.
Mike from Omega
sorry but this doesnt work
THANK YOU
This worked for the first image but not the subsequent images where you see padding on the left and a small sliver of the prior image. How do I fix this? Thanks!
hi @JCL28 , @zlati84
Could you leave your store URL or send me a private message if you do not want to public it, then I can check it for you?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025