Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Change Lightbox Background Color


360degreesla
Go to solution Solved by GRSM,

Question

Hi, I am using The Avenue template with a grid style gallery block. I want to make the lightbox background white for consistency as this whole website is white.

Is this possible with code?

alt text

Cheers!

Edited by MatthewP
Link to post
  • Answers 9
  • Created
  • Last Reply

Top Posters For This Question

9 answers to this question

Recommended Posts

  • 3

Not sure if you have same tags in your template but you may try:


.yui3-lightbox2 .sqs-lightbox-slideshow

{
background-color: rgba(255,255,255,0.7);
}

It should give you a little bit transparent white lightbox

Edited by GRSM

X-Gen born digital. Food Enthusiast. Traveler.

Link to post
  • 0

Hi thereI'm totally new to both squarespace and web design in general. I would like to achieve a darkening of the background when I open a lightbox video in Wexley.

Can I achieve this somehow with the information given on this thread?

Many thanks

Daniel

Link to post
  • 0

I have tried almost everything to change the background and text color of the lightbox and none of the solutions proposed on these forums have worked. It is presently showing as white on white, so the text is there but illegible. I am using the Vow template. I have tried editing in the CSS template, adding code (

) within the lightbox code block, everything on these forums, and nothing has worked.

Any suggestions would be super helpful. Thanks!

Link to post
  • 0

Here you go:

/*SquareSpace Lightbox*/
.sqs-lightbox-overlay.light {
    background: rgba(255,255,255,.98) !important;
    color: #3e3e3e;
}

.yui3-lightbox2 .sqs-lightbox-close:before {
    position: absolute;
    color: #445b6d;
    font-size: 40px;
  right: 5px;
  width: 40px;
  height: 40px;
  font-weight:900;
    line-height: 100%;}

.yui3-lightbox2 .sqs-lightbox-previous:before, .yui3-lightbox2 .sqs-lightbox-next:before { 
    color: #0ab0ff;
    font-size: 33px;
  font-weight: 900;}

 

Link to post
  • 0
On 5/14/2015 at 1:17 PM, 360degreesla said:

Hi, I am using The Avenue template with a grid style gallery block. I want to make the lightbox background white for consistency as this whole website is white.

Is this possible with code?

alt text

Cheers!

how did you get a lightbox to work?

Link to post
  • 0
On 7/4/2020 at 1:37 PM, phardy said:

how did you get a lightbox to work?

What is your problem? Can you describe? We can take a look

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...