Nolon Posted May 30, 2020 Share Posted May 30, 2020 Site URL: https://www.nolonstacey.com/hares/sitting-hare-ii-b Hi, I'm having an issue with my product carousel arrows not being visible. It's fine with a product with a dark background, like the Red Kite, but many of my images have white backgrounds so the white arrows vanish. This would have been an easy fix in 7.0, but I can't for the life of me find a way to change the colour of (or add a background to) the carousel arrows so they're visible no matter what the background. I've searched and searched, so any ideas would be greatly appreciated. Thanks in advance (and anticipation!!) Link to comment
Solution paul2009 Posted May 30, 2020 Solution Share Posted May 30, 2020 (edited) There's not a setting for this in 7.1, but you can change the colour of the carousel controls by adding some CSS to Design > Custom CSS. For example: .ProductItem .ProductItem-gallery-carousel-controls>div::after { border-color: #e1e1e1; } Edited May 30, 2020 by paul2009 Nolon 1 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
Nolon Posted May 30, 2020 Author Share Posted May 30, 2020 Thank you so much. That was exactly what I was looking for. I tried every variation I could think of - so simple when you see the answer!! Thanks again. paul2009 1 Link to comment
joeystephensmusic Posted February 6, 2021 Share Posted February 6, 2021 (edited) @paul2009 1. Right now the code I have is only adding arrows to my mobile view. Is there a way to add arrows the the desktop view also? Current CSS: /* Product slide arrows control */ @media screen and (max-width:767px) { .ProductItem-gallery-carousel-controls { display: flex !important; } /* arrows background */ .ProductItem-gallery-carousel-controls * { background: white; } .ProductItem-gallery-carousel-controls>div { justify-content: center !important; } } 2. Also, I am interested in a similar arrow style like the described in the original post here. Can I have black arrows with a white or grey background? joeystephensmusic.com password: helpneeded Edited February 6, 2021 by joeystephensmusic Link to comment
tuanphan Posted February 7, 2021 Share Posted February 7, 2021 Try edit code to this .ProductItem-gallery-carousel-controls { display: flex !important; } /* arrows background */ .ProductItem-gallery-carousel-controls * { background: white; } .ProductItem-gallery-carousel-controls>div { justify-content: center !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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