Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1478851

    Hello everyone,

    How can I increase the distance in the Masonry Gallery? I only have three options to choose from. It doesn’t work properly via CSS. I only want to increase the spacing between the images.

    #1478858

    Hey mickhb,

    Could you post a link to where we can see the element in question, and highlight your intentions a bit further please?

    Best regards,
    Rikard

    #1478860

    Hi Rikard,

    Of course. I would like to have more space in the upper images. I only have the option between no gap, 1px gap or large gap. But I would like much more.

    Thank you.

    #1478891

    Hi,
    When I look at your screenshot I wonder if you want to have your masonry full width
    Screen Shot 2025 03 08 at 6.49.34 AM
    simply adding a larger gap will make your images smaller, please include a link to your site and advise.

    Best regards,
    Mike

    #1478897

    Hi Mike,
    The two images should not fill the full width and yet the gap between the two images should be much wider. It is clear that these will be correspondingly smaller. How can I create my individual spacing? This is a customer request.

    #1478898

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
        right: 50px;
        bottom: 50px;
    }

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

    Best regards,
    Mike

    #1478902

    Thank you, Mike,
    I thought it would somehow address the space more directly with CSS. Then that’s the only way to do it.

    #1478906

    Hi,
    This is how it is achieved, it works when I test, is it working for you?

    Best regards,
    Mike

    #1478912

    This could be so easy if you could simply enter a specific number of pixels other than large gap. 15 pixels is too small. My customer would like it to look like this from the layout.

    When I play around with CSS, the gap shifts to the left of the image and when I reduce the size, the gap to the right of the second image is also increased. Very confusing.

    • This reply was modified 1 day, 4 hours ago by mickhb.
    #1478917

    Hi,
    The gap is not defined by a gap in pixels, it is defined by the “right:” as in the css above creating the “gap”.
    I couldn’t find your screenshot on your site, the css above was for 50px, not 15px.
    When you reduce the size of the page for testing, always reload the page so the javascript can recalculate.

    Best regards,
    Mike

    #1478930

    Hi,
    All right. It works. The only thing is that the spacing to the right also changes. It always needs some adjustment if you have multiple lines.
    Thank you.

    #1478932

    Hi,
    Glad to hear that you have this working now, unfortunately the spacing to the right for multiple lines is something we don’t have a solution for in the way that it is created. Shall we close this thread then?

    Best regards,
    Mike

    #1478938

    Hi,
    Yes, thank you very much for your time!

    Best regards,
    mick

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘More space as large gap n the Masonry Gallery’ is closed to new replies.