Photo title position in Lightbox

ParisParis Registered Users Posts: 126 Major grins
edited September 28, 2013 in SmugMug Customization
Hey everyone,
Wondering if anyone has come up with a way to reposition the Photo Title so it is not on the far left but either lined up with the photo edge or centered under the photo in Lightbox.

Comments

  • JohnwdJohnwd Registered Users Posts: 33 Big grins
    edited September 27, 2013
    +1 also like to increase the font size
  • JohnwdJohnwd Registered Users Posts: 33 Big grins
    edited September 28, 2013
    Hi Paris,

    As i said i am looking for the same thing myself. I don't have a clue when it comes to CSS but I though I would try and work out what it is that needs to be tweaked.

    After couple of hours I came of with the code (emmif that what you call i mashed together) below. Its nowhere perfect but its a start

    .sm-lightbox-title
    {
    padding-top:0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 700px;

    font-size:24px;
    }

    Hope some some that knows CSS can advise how you centre the screen, and i personally would like it a bit higher off the bottom of the screen so i can make the photo title a bit bigger.
  • denisegoldbergdenisegoldberg Administrators Posts: 14,373 moderator
    edited September 28, 2013
    Johnwd wrote: »
    ...
    padding-left: 700px;

    font-size:24px;
    }
    Have you looked at this on different size monitors or browser windows? On different devices? A phone or tablet?

    I don't believe that hard-coding a padding value will center an element. It might look like it does but what happens on a different sized browser window?

    --- Denise
Sign In or Register to comment.