Background color of lightbox

GalorbeGalorbe Big grinsPosts: 16Registered Users Big grins
edited October 15, 2013 in SmugMug Customization
Hello. I am French, I speak very little English, but I'm optimistic :-)

I wonder if it is possible to change the background color of the lightbox, so that the photo appears in full screen on a background of a different color from the body.
Example: home the body is white, I would like the image displayed on a dark background and translucent, as in the smugmug légacy (dark).
Thank you for your simple answers (I'm French and speaks very little English)

My site : www.galorbe.com

("J'aimerais savoir s'il est possible de changer la couleur de fond de la lightbox, de manière à ce que la photo en grand format apparaissent sur un fond d'une couleur différente du body.
Exemple : chez moi le body est blanc, j'aimerais que l'image apparaissent sur un fond sombre et translucide, comme dans le smugmug légacy (dark).
Merci pour vos réponses simples (je suis Francais et parle très mal l'anglais) ")

Comments

  • Hikin' MikeHikin' Mike Walkin' like a Penguin! Atwater, CaPosts: 4,651Registered Users Major grins
    edited September 25, 2013
    Try this and change the color (#f00) to suit:
    .sm-lightbox {
        background: #f00;
        }
    
  • JtringJtring Major grins CaliforniaPosts: 550Registered Users Major grins
    edited September 26, 2013
    It is possible you can edit the Theme to get the colors that you desire. The background to the lightbox is the "Primary Color" on the Basic tab. The background to pages more generally is the "Page background" color on the Background tab. They can be different. You can have one theme for galleries, with the special colors you desire, and another theme for other types of pages.

    The CSS fragment that Hikin' Mike wrote works too, naturally.

    Jim Ringland
    Jim Ringland . . . . . jtringl.smugmug.com
  • GalorbeGalorbe Big grins Posts: 16Registered Users Big grins
    edited September 26, 2013
    Yes! was right! (css) Thank you very much for your help, that's great!

    ("Oui !!!! c'était bien ça ! Merci beaucoup pour votre aide, c'est super ! ")
  • Darter02Darter02 Major grins Mount Horeb, WIPosts: 946Registered Users Major grins
    edited September 26, 2013
    Try this and change the color (#f00) to suit:
    .sm-lightbox {
        background: #f00;
        }
    

    Cool beans! I was just thinking I'll need to sort this out for the new theme I'm working on! Great timing!
  • paulbrockpaulbrock Major grins Posts: 515Registered Users Major grins
    edited October 15, 2013
Sign In or Register to comment.