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: https://codepen.io/kurt-reynolds/pen/MWvKKMZ

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

Top comments (1)

Collapse
 
kurtreyn profile image
Kurt Reynolds

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