Padding between pictures in Post Gallery

Posted in: Newspaper
Post count: 53

Hi there:

When i insert a gallery in any post. I just find out that there is no padding between pictures. I am looking to get the same that are on columns. Is there any way to get it??

You can see an example in this post https://howpple.com/analisis-del-macbook-pro-2016/

Also i have find out that if there are more than one gallery in the same post, If you visualize one, the gallery will show you all the pictures in the whole article instead just the ones on the gallery.

  • This topic was modified 8 years by espedfk2. Reason: adding more info from a possible bug
Post count: 20688

Hi,

That is how the default gallery looks, I believe on a default WordPress theme it has indeed some margin between the columns. I could give you a code to add some margin between the images
https://www.screencast.com/t/q2Iekraw
Enter it in Theme panel->Custom CSS

.gallery-columns-2 .gallery-item {
max-width: 45%;
margin-right: 10px;
margin-left: 10px;
}

If you are referring to the theme modal image feature
https://forum.tagdiv.com/modal-window/
That will open all the post images in a modal window, not only the gallery images.

Thanks

Post count: 53

Thanks in advance for the CSS. It was right what I was looking for.

About the modal image feature I´ve seen that there is a general option to disable it, but then all the post will activate it individually and I have to disable it one by one right??

Post count: 20688

Glad it worked. If the general modal image setting is disabled, then the individual image settings will apply. So you can set the modal only for individual images only if needed.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.