This topic has 6 replies, 2 voices, and was last updated 4 years, 8 months ago ago by Rose Tyler
Hi
https://xstore.8theme.com/demos/2/ecotransport/product/eco-scooter-ver-2-0/
On the XStore EcoTransport demo, the main image on the product page has a border around it with curved corners. I can’t see where the settings that determine this are? Is it done in the theme Customizer? I can’t find the settings and I can’t find any CSS relating to it? I would like to try and replicate it on a site that uses a different demo. I would be grateful for some help in knowing where to look, please?
Regards
Robert
Hello,
This custom CSS was added in Theme Options > Theme Custom CSS > Global custom CSS for the mentioned version:
.single-product .main-images > div {
border: 2px solid #e2e2e2 !important;
border-radius: 20px;
padding: 5px;
margin-bottom: 35px;
}
.single-product .main-images > div:hover {
border-color: #5556ff !important;
}
Regards
Hi Rose
Thank you very much. Not sure how I missed that. Seems a bit obvious now. ?
Regards
Robert
Hello,
You’re welcome!
Have a nice day.
Regards
Sorry to bother you again.
When I add a product that has square product images and does not have a white background, I can see a lot of white padding above and below the main image on the single product page. I’d like to know where to delete this extra white space? The space is between the product image and the 2px border, but only on the top and bottom borders, not the side borders.
Removing the curved corners by taking away the code for this does not remove the white padding.
removing this doesn’t do it: border-radius: 20px;
Looked everywhere for padding settings in the Single Product Builder, but can’t see it.
Robert
Hello,
Please provide URL from your site.
Regards
You must be logged in to reply to this topic.Log in/Sign up