This topic has 4 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Rose Tyler
Hello,
I am trying to add a border around the main product image and (if they are) around thumbnails. I used this code somewhere from the forum:
.single-product #swiper-unique-id-0{
border: 1px solid #e5eaee;
margin-bottom: 10px;
border-radius: 4px;
}
.single-product .thumbnails-list .thumbnail-item {
border: 1px solid #e5eaee;
border-radius: 4px;}
Something isn’t working, becouse the border is showing on variable products but not on simple ones.
Can you paste me the code please?
Link from a variable product in private.
Thank you,
Hello,
Try to change this code https://prnt.sc/2W5tuNl4014E to:
.single-product .swiper-slide, .single-product .thumbnails-list .thumbnail-item {
border: 1px solid #e5eaee;
border-radius: 4px;
}
Regards
Hello,
Thank you for the reply.
I have a problem with double border in “you may also like” products on the bottom of single pages (see product in attachment).
Hello,
Thanks for the reply.
Please change this custom CSS code – https://prnt.sc/TVGLrAGVxcPA to:
.single-product .main-images .swiper-slide, .single-product .main-images .thumbnails-list .thumbnail-item {
border: 1px solid #e5eaee;
border-radius: 4px;
}
Regards
Tagged: main image, single page, templates, thumbnail border, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up