René Kuenen Posted May 24, 2014 Share Posted May 24, 2014 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 More sharing options...
vekia Posted May 24, 2014 Share Posted May 24, 2014 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 Link to comment Share on other sites More sharing options...
René Kuenen Posted May 24, 2014 Author Share Posted May 24, 2014 That did the trick. Thanks Vekia! Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2014 Share Posted May 24, 2014 you're welcome :-) glad to hear that i could help a little with this small piece of code :-) i marked topic title as solved with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts