Products listing elements not the same size

dev
Offline
Last seen: 1 year 1 month ago
Sat, 04/16/2016 - 07:59
#1
Products listing elements not the same size

Hello,

I'm trying to display the last 4 products using the code I've copied from the index.html page of the template. Unfortunately, My blocs of products aren't all at the same size.. Why isn't the css controlling each block to be aligned as in the template ?

If you have a hint or a solution I didn't see please consider this as my misinformation. But I've bee blocked on this for a full week now..

Thanks in advance,

Dev

cindy
cindy's picture
Offline
Last seen: 7 hours 31 min ago
Tue, 04/19/2016 - 16:44

Could you please send us the url

hattt13
Offline
Last seen: 1 week 3 days ago
Wed, 04/20/2016 - 09:53

Hi, Dev, you can add the code 

.product-grid .product-thumbnail:before {
content: "";
position: relative;
padding-top: 140%;
display: block;
}


.product-grid .product-thumbnail img {
position: absolute;
top: 0;
left: 0;
width: 100%;
}

Log in or register to post comments