DEV Community

Cover image for Help with jQuery lightbox
Kurt Reynolds
Kurt Reynolds

Posted on

1

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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more