Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1399151

    Dear support team

    on the following page we use a Masonry Gallery:

    The images should be displayed side by side and one below the other with a large spacing. But unfortunately the vertical and horizontal distance between the images varies: see screenshot with markings: http://neu2.dc-gmbh.com/support/masonry.jpg
    The vertical distance marked in green is correct. But why is the horizontal distance marked in red twice as high? This red space should be the same as the green vertical space.
    What do I have to change so that the distances are the same?

    Best regards Diana

    #1399265

    Hey Diana,
    Thanks for the link to your page, it looks like the WordPress Block Editor css is adding 1em of bottom margin to figure elements, to correct please try this css:

    .av-masonry-gallery figure.av-inner-masonry {
    	margin: 0;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.