Tagged: Masonry Gallery
Hello,
Is there a way to define a specific custom gap width besides current options as no gap, 1 and large.
Also, can we set different gap option for mobile.
Hey Yan,
Thank you for using Enfold.
Set the gap to “large” then add this in the Quick CSS field to adjust the space between the elements:
.av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry {
right: 50px;
bottom: 50px;
}
Adjust the value as needed.
Best regards,
Ismael
Thank you, it works!
Yan
Hi Ismael,
I noticed that in order to do a perfect customized gap, we need to add this code also, don’t we.
.av-masonry-gallery {
padding-left: 0px !important;
}
Otherwise, when you set Large gap, there will be a large padding on the left no matter what you set to the code you provided.
Yes, it works. Thanks.
yan
Hi,
Glad we could help!
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold!
Best regards,
Vinay