Why do my product images change size on refresh?

Solved

Why do my product images change size on refresh?

LanaDaya
Tourist
15 0 2

Hi,

 

I want to ask if anyone know what happen. I use metafields to list a product. The sizes of the image are all the same yet the grid changes everytime I refresh. The grid that I used comes from other pages and it seems nothing is wrong only to this particular page which I assume from the metafields. 

Please let me know how to solve this. 

Screen Shot 2022-09-27 at 12.21.jpg

Accepted Solution (1)

gr_trading
Shopify Partner
1891 145 199

This is an accepted solution.

Plz share your store URL 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

View solution in original post

Replies 4 (4)

gr_trading
Shopify Partner
1891 145 199

This is an accepted solution.

Plz share your store URL 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
gr_trading
Shopify Partner
1891 145 199

Try with below CSS.

.pairing-products .product_thumbnail {overflow: hidden !important; display: block; padding-bottom:0 !important;}
.pairing-products .product_thumbnail img {max-height: 100%;}

@media(min-width:768px){
	.pairing-products .product_thumbnail {height: 160px; width: 118px !important;}
}
@media(max-width:768px){
	.pairing-products .product_thumbnail {height: 116px; width: 85px !important;}
}

 

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
LanaDaya
Tourist
15 0 2

I have figured it out, sorry for the bother. thankyou!