Photo title position in Lightbox
Paris
Registered Users Posts: 126 Major grins
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.
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.
0
Comments
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.
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
Musings & ramblings at https://denisegoldberg.blogspot.com