Jump to content

Product carousel arrows invisible!

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
  • Replies 4
  • Views 2k
  • Created
  • Last Reply

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

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.