Tagged: Masonry Gallery Grid Adjustment
Hi, I am using the Enfold Elegant Portfolio and on my Portfolio Pages there are always 2 columns with images (flexible Masonry). This is nice, but the images in these 2 columns are scaling down and getting smaller and smaller until the viewport reaches mobile sizes, which results in a one-column view. My question is: Can I get a one-column view when the viewport gets smaller than, for example 1440 pixels viewport width? Can i adjust the breakpoints of the masonry grid so to say? Greetings Ercan
Hey ErcanSariguel,
Please link to your page so we can examine and offer a single column solution for 1440px
Best regards,
Mike
Hi,
Thank you for the info.
You can use this css code to adjust the width of the masonry items on smaller screens (1400px or less):
@media only screen and (max-width: 1400px) {
/* Add your Mobile Styles here */
#top .av-masonry.av-a3xg2-658ab37a9edd2ce89fe50f0c548108e2 .av-masonry-entry {
width: 100%;
}
}
Best regards,
Ismael
Hi,
Thanks for the update.
where can i use this code? I tried it on my portfolio page and put it at:
You have to add the css code in the Enfold > General Styling > Quick CSS field or in the child theme’s style.css file. Let us know of the result.
Best regards,
Ismael