Jump to content

[SOLVED] Picture subcategory not a perfect square


Recommended Posts

I'm testing my new site for 1.6.

Now i'm notice that my subcategory is not displayed as a perfect square but is in hight a little bit higher.

Example: http://www.renekuenen.nl/webshop/car-audio/merkspecifiek/

 

I lookt at the demo prestashop and there it looks good, so the problem lays by me but where?

The pictures are 25x25, the same as the backend setting. When i right-click the subcategory picture and i save that, i download a 25x25 px image, so that's not the problem.

 

Where can i find the setting or tpl file to fix this problem?

Link to comment
Share on other sites

add height:auto; to:

#subcategories ul li .subcategory-image a img {
max-width: 100%;
vertical-align: top;
}

final code:

#subcategories ul li .subcategory-image a img {
max-width: 100%;
vertical-align: top;
height:auto;
}

effect

KOs4GRY.png

Link to comment
Share on other sites

×
×
  • Create New...