Hello, I am trying to adjust the size of my photos with Origin theme. I am still in the process of making this store, and would like to see how I can have smaller photos. https://shaba-1707.myshopify.com/
Hi Adrian, I have gone through your request There are some approaches to this and these are;
- You can re-upload a better / desired size of your product image
- You can resize the image right from the Shopify Editor
You can do these.
Hello @adrianseller ,
It’s GemPages support team and glad to support you today.
I would like to give you a recommendation to support you so kindly follow steps below:
- Go to Online Store > Theme > Edit code of your current theme
-
Open your theme.liquid theme file
-
Paste the below code before
For example,
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
This is Victor from PageFly - Landing Page Builder App.
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on file base.css
.product__media-list .product__media-item .product-media-container .media > img {
object-fit: contain !important;
}
.product__media-list .product__media-item .product-media-container .media {
background: white;
}
Hope this answer helps.
Best regards,
Victor | PageFly
Has this been updated since this post? I attempted to modify the code using the above and I don’t see any changes to the size of the images. Thank you!
Removed the code dictating background colour. Reduce the 100% to 70% or even lower to change the image size.
.product__media-list .product__media-item .product-media-container .media { padding-top: 70%; } .product__media-list .product__media-item .product-media-container .media > img { object-fit: contain; }
