Jump to content

Modal Lightbox - Spacing

Recommended Posts


still learning here, please bear with me.

Ive copied and edited the modal Lightbox code from the site and I’ve got about 90 images. After adding all the code and images, I noticed the columns have spacing between them but the rows don’t.

Any help/suggestions?

Here’s the link to the code on this website:


thank you.

Link to post
Share on other sites

You need to add some styling to the row class so that it has the spacing it requires.

If you add margin-bottom: 5px to your declaration, it should space alright, and you can adjust that figure to your needs.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...