Jump to content

Product carousel arrows invisible!

Go to solution Solved by paul2009,

Recommended Posts

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!!)

Screenshot 2020-05-30 at 14.11.43.png

Screenshot 2020-05-30 at 14.12.11.png

Link to comment
  • Solution

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;
}

 

spacer.png

Edited by paul2009

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.

Buy me a coffee

Link to comment
  • 8 months later...

@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 by joeystephensmusic
Link to comment

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.