Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #499840

    Hi,
    How can I increase height of item in masonry? I have 4 posts, 4 columns, checked “Perfect Grid: Display a perfect grid where each element has exactly the same size. Images get cropped/stretched if they don’t fit” and larg gap. I have change class .av-masonry-container.isotope {
    height: 290px !important;
    }
    but on mobile devices it’s still 290px height so items below are not visible.

    • This topic was modified 9 years, 2 months ago by GIEKApl.
    #500241

    Hi GIEKApl!

    Thank you for using Enfold.

    Replace the code with this to keep mobile view from being affected:

    @media only screen and (min-width: 989px) {
         .av-masonry-container.isotope {
              height: 290px !important;
         }
    }

    Regards,
    Ismael

    #502262

    I want to items have 290px height but not container. Container must have auto height.

    #502852

    Hi!

    Send us a link to your page and take a screenshot highlighting exactly what your trying to do and we’ll check to see if it’s possible.

    Best regards,
    Elliott

    #503323
    #503473

    Hi!

    Add this to your custom CSS.

    .av-masonry-date {
      padding-left: 15px;
    }
    .av-inner-masonry figcaption {
      min-height: 110px;
    }

    Cheers!
    Elliott

    #503552

    ok but it’s only changed height of figcaption but what about images? Images have the same height as before

    #503858

    Hey!

    You can use this to change the height of the image:

    .av-fixed-size .av-masonry-entry .av-inner-masonry-sizer {
        padding-bottom: 130%;
    }

    Best regards,
    Ismael

    #504043

    perfect! Thank you

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Increase height of item in masonry’ is closed to new replies.