clau Posted March 24, 2021 Share Posted March 24, 2021 (edited) Hello my Prestashop friends! In PS 1.6 rounding (all) image corners was pretty simple, but i cant find out how to do it this in 1.7.7.2 Should i use .thumbnail-container to do this? in custom.css or ? I would like to see that all images / containers are rounded around the edges. featured products, new products, etc. not the images themselfs but the container that holds them....i suppose? Is this possible? How 🙂 Many, many thanks in advance!! Greetings, Clau Edited March 24, 2021 by clau (see edit history) Link to comment Share on other sites More sharing options...
Mian Waqas Posted March 24, 2021 Share Posted March 24, 2021 Hi, add this code to custom.css file in themes/(your theme name)/assets/css/custom.css .product_zoom_wrapper>img { border-radius: 50%; } the main code is border-radius: 50%; so if the above is not your div class , you can find yours and replace it thanks Link to comment Share on other sites More sharing options...
clau Posted March 25, 2021 Author Share Posted March 25, 2021 Hello SMTmardan, thank you for your help answer but is doesnt work i also suppose "zoom" is for something with zoom? Its not about zoom. according to google inspector its something like class="thumbnail-container" But maybe i am wrong. Link to comment Share on other sites More sharing options...
clau Posted March 25, 2021 Author Share Posted March 25, 2021 i just found it. in custom.css put #products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container { border-radius: 10%; } Link to comment Share on other sites More sharing options...
Mian Waqas Posted March 25, 2021 Share Posted March 25, 2021 4 hours ago, clau said: i just found it. in custom.css put #products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container { border-radius: 10%; } yes i told you the main code is "Border-radius: 10%;" and to find and replace the div with yours. i am glad you had find it stay blessed Link to comment Share on other sites More sharing options...
clau Posted March 26, 2021 Author Share Posted March 26, 2021 you showed me in the right direction, many thanks!! I also tweaked it a bit more 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