A bookstore owner is experiencing image cropping issues on collection pages, where rectangular book covers are being cut off. The problem specifically affects product images displayed in grid layouts on collection pages.
Initial Solution:
Multiple users suggested adding CSS code to the theme’s custom CSS or base.css file
The recommended fix: .product-card__image img { object-fit: contain; }
This changes the image display from cropping (cover) to fitting the entire image (contain)
The solution initially worked successfully
Current Status:
The issue has resurfaced after the store owner changed themes
The same CSS code that previously worked is no longer effective with the new theme
The problem remains unresolved and requires a new solution specific to the current theme
The discussion demonstrates that CSS solutions for image display are theme-dependent and may need adjustment when switching Shopify themes.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
I have a bookstore and many of my images are cropped. Since I have so many books in my collection, I was hoping I could edit the theme and not have to resize each individual picture. Is this possible?
Hello @Stories1
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance. If helpful, please like all posts.