Jump to content

Customising Gallery Grid Arrows

Recommended Posts

Hi there, 

I am building a website for a client and they have asked that the gallery grid lightbox 'X' is darker and the left and right arrows are darker and are visible all the time (rather than only on hover). I have scoured the forum and can't seem to find a code that works for the site. The template is Foster.

The website is 
https://apricot-frog-pc6a.squarespace.com
Password: lynne.2019

An example of this can be viewed on any of the pages under 'work'.

Any help would be greatly received! 

Many thanks, 

Hannah 

Link to comment
  • Replies 3
  • Views 1.9k
  • Created
  • Last Reply

Add the following to your custom css area after any code that may already be there

// Change color of close, next and prev icons
.sqs-lightbox-close, .sqs-lightbox-next, .sqs-lightbox-previous {
	&:before {
		color: #000 !important; // Substitute whichever color you want - I have set it to black #000
	}
}

// Force arrows to always be visible
.sqs-lightbox-next, .sqs-lightbox-previous {
	opacity: 1 !important;
}

 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment
On 10/31/2019 at 10:47 AM, colin.irwin said:

Add the following to your custom css area after any code that may already be there


// Change color of close, next and prev icons
.sqs-lightbox-close, .sqs-lightbox-next, .sqs-lightbox-previous {
	&:before {
		color: #000 !important; // Substitute whichever color you want - I have set it to black #000
	}
}

// Force arrows to always be visible
.sqs-lightbox-next, .sqs-lightbox-previous {
	opacity: 1 !important;
}

 

Thank you so much @colin.irwin - I will give that a go! 🙂 

Link to comment
  • 5 months later...

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.