Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1470089

    Hi team,

    Could you support me with a snippet to control the spacing / padding of the Masonry grid? I’ve set the gap currently at “large” but I would like to include more space between the images. I have found some treats but none of the snippets seemed to work for me.

    Thanks in advance
    S.

    #1470106

    Hey Enfoldfanatic,

    Could you post a link to where we can see the element in question please?

    Best regards,
    Rikard

    #1470107

    Hi Rikard,

    Please find the URL in the private content section.

    Regards,
    S

    #1470125

    choose the large gap and place that css into your child-theme quick css:
    (masonry-gallery – or do you mean the masonry-entries?)

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

    i try to find a solution for av-flex-size now…

    #1470126

    I mean the masonry gallery indeed :)

    #1470127
    #top .av-large-gap.av-flex-size .av-masonry-entry .av-inner-masonry {
      position: relative;
      margin-right: 20px !important;
      margin-bottom: 20px !important;
    }
    #1470128

    Hi Guenni007,

    That worked, thank a lot for your efforts.

    Regards,
    S

    #1470129

    set up for mobile devices :

    .responsive.avia_mobile #top .av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
        right: 20px;
        bottom: 20px;
    }

    or if you mean for small screens – then a media-query is the means of choice instead:
    f.e.:

    @media screen and (max-width: 767px) {
      #top .av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
          right: 20px;
          bottom: 20px;
      }
    }
    #1470134

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

    #1470137

    Hi Rikard,

    Feel free to close the topic.

    Regards,
    Sheldon

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘CSS snippet to control the spacing/ padding of the Masonry grid (set to “large)’ is closed to new replies.