Hello, I am using Boost Theme by Clean Canvas. I would like a border around all my individual products, in all collections and on each product in the product page. Does anyone know the code on how this can be achieved?
Thanks in advance.
Eden
Hello, I am using Boost Theme by Clean Canvas. I would like a border around all my individual products, in all collections and on each product in the product page. Does anyone know the code on how this can be achieved?
Thanks in advance.
Eden
Hi @EdenC ,
Since not all developers have access to paid theme, can you provide your website? Thank you
Sure, the link is www.roguebunny.co.uk. Password is TOWNIA1 - Thank you ![]()
HI @EdenC ,
I am assuming you want every product to be like a card in the home page. In the product page, you want the product images to be bordered.
.product-carousel-peek .product-block.grid-flex__item:before {
content: "";
position: absolute;
width: 95%;
height: 95%;
top: 45%;
left: 55%;
outline: 1px solid;
transform: translate(-50%, -50%);
display: block;
}
a.global-border-radius {
position: relative;
}
a.product-detail__thumbnail.global-border-radius-medium.media-thumbnail.media-thumbnail--media-image {
border: 1px solid;
}
a.global-border-radius:after {
content: "";
position: absolute;
border: 1px solid black;
width: 99%;
height: 100%;
top: 50%;
left: 49.5%;
transform: translate(-50%, -50%);
display: block;
}
Hello, thank you for your reply. That worked great for the individual product pages however I do not want the products on the home page in the form of a card, I only want the product images to have a border, I would like this to be the same across the entire website for the home page, collection pages and individual pages if that is possible? Thanks Eden
Hi @EdenC ,
Sorry about that. Please replace your code with the code below
.product-block img {
border: 1px solid #000;
}
.product-media.product-media--image img.rimage__image.fade-in.lazyautosizes.lazyloaded {
border-right: 2px solid #000;
}
.rimage-wrapper img {
border: 1px solid #000;
}
Thank you so much! That worked perfectly. ![]()
Please open a thread with your website included. Not all solutions applies to everyone even it is the same theme.