Display Captions/Titles in Lightbox

raebrownraebrown Registered Users Posts: 273 Major grins
edited May 15, 2015 in SmugMug Customization
I'm trying to get the captions and titles to display in lightbox. I've implemented Sherlock's code from 2015-3-26 but something must be still keeping it from displaying. :dunno
Rae
Tickled Pixels

Tickled Pixels Blog: "
A walk in Gamla stan, the old town of Stockholm"

Comments

  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited May 15, 2015
    I have just played a little bit with it in Firefox - so what I came up with might help or it might not help, but I guess it is worth a try.
    It seems you have the width of the lightbox-caption set to auto and smug is not capable of calculating how wide auto has to be if the text is filled in later (or something like that).

    So what might help is adding the following code to your css for your gallery:
    div.sm-lightbox-ft-center.sm-lightbox-panel {
      width: 1200px !important;
    }
    

    Good luck

    Lille Ulven
    https://www.lilleulven.smugmug.com - The Photos of my travels
  • raebrownraebrown Registered Users Posts: 273 Major grins
    edited May 15, 2015
    That worked Lille...thankyou very much!
    Rae
    Tickled Pixels

    Tickled Pixels Blog: "
    A walk in Gamla stan, the old town of Stockholm"
  • Lille UlvenLille Ulven Registered Users Posts: 567 Major grins
    edited May 15, 2015
    Glad to hear that it worked for you, reabrown :ivar
    https://www.lilleulven.smugmug.com - The Photos of my travels
Sign In or Register to comment.