Ideally, I am wanting the Masonry Gallery images to appear as grayscale and then have a dark blue overlay—something like rgba(0,87,130,.7) when you rollover the images. All the threads I’m seeing are from around 2017 and don’t seem to address the current coding of the Masonry Gallery as nothing seems to work. Thanks for your help!
Hey imagestudios,
Thank you for the inquiry.
Looks like you’ve managed to apply gray scaling to the masonry items with this css code.
#top .av-hover-overlay-grayscale .av-masonry-entry .av-masonry-image-container {
filter: grayscale(1);
}
To adjust the overlay color, try this css code.
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
background: rgba(0,87,130,0.3);
}
Best regards,
Ismael
Hi,
UPDATE: You can also apply the grayscale effect by adjusting the Advanced > Animation > Image Hover Effect settings.
Best regards,
Ismael
Thank you. I’ve been able to achieve this, but I want the color overlay to disappear on hover.
Hi,
Thank you for the update.
You can add this css code to hide the overlay on hover.
#top .av-caption-style-overlay .av-masonry-item-with-image:hover .av-inner-masonry-content {
background: transparent;
}
Best regards,
Ismael
That worked—thanks again for the great support!
Hi,
Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard
You can close this topic. Thank you.