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
Hi,
I changed the image ratio to Portrait in the theme customization (it was "fit to image" previously but I did not like the style) but images are now being cropped and I cannot find a way to have the image fit into this Portrait format.
Can anybody help? The website is www.geminiatelier.com and the theme is Reformation.
Thank you!
add this css on base.css
.product-card .product-feature-image-linking {
object-fit: contain;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Hi,
It is style the same, all images are cropped.
you need this type i think
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
The images are rectangular so they should fit into a portrait format. It works on he product page but not the collection page.
Hi @GeminiAtelier ,
I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file app.css or product-grid.css. And add this code snippet to the end of the file.
.product-card .product-featured-image-link img {
object-fit: scale-down !important;
}
Step 3: Save your code and reload this page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
It made all the images squared, I would like them to be Portait.
Could it be because I used an app called "Pixc: Photo Resize"? Should i revert back all the images to orginal for this to work?