JonoY Posted March 4 Share Posted March 4 Product navigation arrows are black so appears fine on images with lighter backgrounds but on darker background they're not accessible. A simple solution would be to add a white box behind it (see attached) Is there a way to add custom code to implement this? Extra bonus: make arrows bolder move arrows closer to edge Link to comment
tuanphan Posted March 5 Share Posted March 5 You can use this code to Website > Website Tools > Custom CSS. If it doesn't work, you can share link to a product, we can check easier /* Product arrows */ .ProductItem-gallery-carousel-controls .product-item-gallery-carousel-control:after { border-width: 3px 3px 0 0 !important; border-color: white !important; width: 2vw; height: 2vw; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
JonoY Posted March 6 Author Share Posted March 6 Thanks tuanphan, but unfortunately it didn't work. Here's the link to a product: https://www.jonoyuen.com/mutantmade/p/mm-round-logo I had also previously tried a few threads that you've replied to in the past and none of those solutions worked either. Link to comment
JonoY Posted March 8 Author Share Posted March 8 The code above just thickened the arrows and made them white. So now you can't see it on images with light backgrounds. Is there a way to add a solid box behind it? That way you can see it not matter what the background is behind it. Link to comment
JonoY Posted March 10 Author Share Posted March 10 Tried updating the background-color but it's not a rectangular shape behind the arrow. It looks like the arrows are made from a rotated square shape. Any suggestions Tuanphan? Link to comment
Solution tuanphan Posted March 14 Solution Share Posted March 14 Use this new CSS code /* Product arrows background */ button.product-item-gallery-carousel-control { background-color: white !important; justify-content: center !important; } .ProductItem-gallery-carousel-controls .product-item-gallery-carousel-control.ProductItem-gallery-next:after { margin-left: 0 !important; } .ProductItem-gallery-carousel-controls .product-item-gallery-carousel-control.ProductItem-gallery-prev:after { margin-right: 0 !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
JonoY Posted March 16 Author Share Posted March 16 Thanks Tuanphan Not exactly what I'm after but I've just changed the color of the arrows to a grey that's visible on both light and dark backgrounds. Thanks for your help tuanphan 1 Link to comment
tuanphan Posted March 17 Share Posted March 17 So did you solve or still need help? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment