Jump to content

Modal Lightbox - Spacing


abduls16

Recommended Posts

Hello,

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:

https://www.w3schools.com/howto/howto_js_lightbox.asp

thank you.

Link to comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...