This topic has 12 replies, 3 voices, and was last updated 6 years, 3 months ago ago by Rose Tyler
Hello,
I would like to add a border to all my product images on my website (not all images, only product images). What could be the most efficient css property to do this?
Thank you.
Hi,
let us know your site url / the page url where you want to add border to images.
Hello,
Please find information.
All your images have border now: http://prntscr.com/gdvss3
seems you’ve fixed it
Hi,
Not at all. These borders are borders on jpeg file, they will be deleted. I want borders in css.
Thank you.
Hello,
Please try this code:
.product-content-image img, .home-carousel-product-pic img {
border: 1px solid black;
}
Regards
Hello,
Thank you but this property adds border only on home page and not on other pages I have indicated in my previous message?
Hello,
Please change previous code to:
.product-content-image img, .home-carousel-product-pic img, .banner img{
border: 1px solid black;
}
Regards
Ok thank you, it seems to be ok.
You’re welcome!
Regards
Thank you, problem solved, you can close.
Ok.
Have a nice day.
Regards
The issue related to '‘Border product images’' has been successfully resolved, and the topic is now closed for further responses