Shopify themes, liquid, logos, and UX
HI, my website is domisana.com
Even though I always crop my photos square I noticed that different phones change image ratio so that some of my products have cropped photos
Example my mobile
Example some other screen mobile
Can this be fixed, so that gallery slider always keep locked 1:1 aspect ratio for photos, not crop them depending on the screen size,
Thanks
Solved! Go to the solution
This is an accepted solution.
.product__media img {
object-fit: contain !important;
}
I hope this helps
Best,
Daisy
This is an accepted solution.
.product__media img {
object-fit: contain !important;
}
I hope this helps
Best,
Daisy
Hi @Domisana
You can solve this issue by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings.
@media (max-width: 749px) {
.product__media img { object-fit: contain !important; }
}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024