Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
My Product Page first image of product start showing to small on mobile and desktop both as seen below:
Then I added following code in my theme file editor /assets/base.css
" .productView-image.fit-unset .productView-img-container img:not(.zoomImg) {
width: 500px !important;
height: 500px !important;
}
"
after using this code my image start showing good on desktop device but on mobile device it start showing starched image
Like this on my mobile:
What's the URL of your store?
You can replace in base.css file. Use Width and Height 100% this will fix for both desktop and mobile view without product image stretch.
.productView-image.fit-unset .productView-img-container img:not(.zoomImg) {
width: 100% !important;
height: 100% !important;
}
tried your code didn't worked
results:
any different solution ?