Shopify themes, liquid, logos, and UX
hi,
Yesterday I posted a question for product grid size modification and I updated the code. But I find it also impacted my picture in home page, it was square originally but now is rectangular after updating the code.
Can someone help me fix the issue? I want all pictures square
I attach the original code below I updated for the product grid size yesterday
and also attach the home page product picture below.
<style>
.card__inner.color-background-2.gradient.ratio {
max-height: 305px !important;
}
</style>
Please remove that code and setup your product grid image in your Online store > Themes > Customize > Collections > Default collection > Product grid > change Image ratio setting to Square
- Found this helpful? Hit "Like" and "Accept as Solution"!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
hi Dan,
Sorry that I should mention the background why I put this code.
The reason is the size of my product grids was not consistent and want all images can be square. But somehow it will change my photo in home page.
I removed the code now and remain as it was and the home page photo now is square. Do you have any suggestion to fix the issue?
Here is my store URL: https://9f1b1e-2.myshopify.com/
thanks
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025