Hi, I had worked with your team to achieve the overlay color for the Masonry Gallery using this code:
/* MASONRY GALLERY OVERLAY COLOR */
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
background: rgba(0,87,130,0.7);
}
/* MASONRY GALLERY TO REMOVE COLOR OVERLAY ON HOVER */
#top .av-caption-style-overlay .av-masonry-item-with-image:hover .av-inner-masonry-content {
background: transparent;
}
However, on the mobile view, it is just grayscale. How can I apply the blue color overlay for mobile as well?
Credentials provided below. Thanks in advance!
Hey imagestudios,
Thank you for the inquiry.
Please add this css code to adjust the color of the masonry overlay on mobile view.
@media only screen and (max-width: 767px) {
/* Add your Mobile Styles here */
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
background: rgba(0, 87, 130, 0.7);
}
}
If you have an existing css media query for a breakpoint (max-width: 767px), you can just copy the css rule above and place it within the existing media query.
Best regards,
Ismael
Thank you. That was similar to something I had tried before. I did try this code, but it is still grayscale on mobile and not the blue overlay as it appears on desktop.
Hi,
Please refer to: https://kriesi.at/support/topic/add-margin-to-bottom-of-blog-grid-layout-on-mobile-view/#post-1435681
Best regards,
Ismael
That worked—thank you so much!