Can I make the background during lightbox, the same as my site background?
ChancyRat
Registered Users Posts: 2,141 Major grins
My site background is an image stored on my site. Can lightbox mode have the same background?
Thanks.
EDIT: I installed the background code via the SM theme settings which has the option to link to an image.
Thanks.
EDIT: I installed the background code via the SM theme settings which has the option to link to an image.
0
Comments
http://www.dgrin.com/showthread.php?t=241192&highlight=lightbox+background
.sm-lightbox { background: url('background-imge-here'); }
So the code I added is this, but it's not working:
/* Make lightbox background same as site background image */
.sm-lightbox {
{
background: url('http://www.joinrats.com/photos/i-8KJzPpX/0/S/i-8KJzPpX-S.png');
}
I was so proud of myself for figuring out the code, too.
Please check out my gallery of customisations for the New SmugMug, more to come!
By the way, in Smugmug style, lightbox is not possible? I went to a random gallery that is set to that style and the video played in place (thumbs still to the left).
Had to go to a journal style to have lightbox kick in.
But you can by adding /A to the browser link.
My Website index | My Blog
/* Make lightbox background same as site background image */
.sm-lightbox {
background: F7F7F7;
}
Add #?