DEV Community

Cover image for Help with jQuery lightbox
Kurt Reynolds
Kurt Reynolds

Posted on

Help with jQuery lightbox

Hello Everyone,
I was wondering if someone might be able to help with getting a lightbox to center on a page?
Here is a link to my Codepen:

When clicking on an image, it will bring up a lightbox/modal window of the image. However, the lightbox is showing up at the bottom of the page rather than the center of the page as it should.

Thank you in advance for any suggestions

Discussion (1)

kurtreyn profile image
Kurt Reynolds Author

Found my error. I had left a letter out in my css sheet. Working great now.