Winkli Posted November 16, 2019 Share Posted November 16, 2019 I want to make images (with boxes) smaller on my home and category pages. I do this, the image changes size, but the box/frame is stil the same https://zemez.io/prestashop/support/how-to/prestashop-1-7-edit-predefined-image-dimensions/ I use Prestashop 1.7.4.2, classic theme. Thank u. Link to comment Share on other sites More sharing options...
NemoPS Posted November 16, 2019 Share Posted November 16, 2019 You have to add a new rule in custom.css, overriding this #products .thumbnail-container .product-thumbnail img, .featured-products .thumbnail-container .product-thumbnail img, .product-accessories .thumbnail-container .product-thumbnail img, .product-miniature .thumbnail-container .product-thumbnail img { max-width: 90%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; Then change the max width Link to comment Share on other sites More sharing options...
Winkli Posted November 16, 2019 Author Share Posted November 16, 2019 This also changes the image size, but not the size of container/frame Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now