Jump to content

change background color of enlarged product image

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 4
  • Views 342
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 5/27/2023 at 5:08 AM, nooneshome said:

Anyway to make the background color opaque and not transparent and make the left and right arrows and X (close box) black?

Use this new code

/* Lightbox background color */
.yui3-lightbox2 .sqs-lightbox-overlay {
    background-color: rgba(255,255,255,0.5) !important;
}
.yui3-lightbox2 .sqs-lightbox-close, .yui3-lightbox2 .sqs-lightbox-previous, .yui3-lightbox2 .sqs-lightbox-next, .yui3-lightbox2 .sqs-lightbox-meta-trigger {
    color: black !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!)

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.