July 20th, 2013, 11:32 PM
Need help with my lightbox gallery
Hello everyone! I am new here and need some help.
I have a couple of lightbox galleries here: www sebastianbojek com/streets.html
As you see the two first galleries are aligned right ( center ). But all the other ones are to the left. I don`t know how to fix that. I tried everything.
I hope someone here can help me out!
Thanks in advanced!
July 21st, 2013, 10:37 AM
The problem is with the way the hidden images for the lightbox are defined. It looks like they just have their width sset to 0, which means the margins on them are still going to take up space. Those margins are what is causing the alignment to be wonky.
Ideally those hidden images would have display:none set on them, and then when rendered the lightbox plugin would change that.
July 21st, 2013, 11:19 AM
Could tell me where exactly I have to put that in my code.
July 22nd, 2013, 08:35 AM
Sorry for double posting. But it is driving me crazy! I tried the display none thing and still its not working.