Jump to content

Prestashop trouble with photos


Recommended Posts

Hi guys, I'm looking for help / advice. I have trouble with main photos displayed on the category pages, for technical reasons these photos are of different sizes, in different orientations (vertical / horizontal) which results in "smash" the page (as you can see)

prestapomoc.thumb.png.f183a5ad864a87382ac934e0e077f670.png

Does anyone know how to use the module, program or settings, except for the physical editing of each image separately, I could prevent it? Thank you in advance for any helpful answer. Regards. (I use prestashop 1.7.1.1)

Link to comment
Share on other sites

Hi, it seems to be a theme issue, just set the correct height of the thumbnail container in your CSS. In the default theme, the definition is situated in /themes/classic/assets/css/theme.css

#products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
	...
	height:yourThemeSizepx;
	...
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...