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.
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
I want to items have 290px height but not container. Container must have auto height.
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
Hi!
Add this to your custom CSS.
.av-masonry-date {
padding-left: 15px;
}
.av-inner-masonry figcaption {
min-height: 110px;
}
Cheers!
Elliott
ok but it’s only changed height of figcaption but what about images? Images have the same height as before
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
perfect! Thank you