Hello,
How can I control the opacity, position and colour (background and font) of the text overlay over image in Masonry Gallery?
Grüße
Jyothis
Hey Jyothis,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.av-image-caption-overlay-center {
vertical-align: bottom;
}
For other changes, can we see the element on your live page?
Best regards,
Yigit
Hello Yigit,
Please find the element in the page below. I want to align the text to centre and format fonts. Also, is it possible to control the opacity of the white background when the text is displayed over scroll?
Thank you
Grüße
Jyothis
Hi,
Yes, that would be possible, but i could not find the element on your page. Have you removed it? If not, can you please post the link to the exact page/section?
Best regards,
Yigit
Hi Yigit,
I removed the item from my main page as I didnt find a solution. Please find it in the new test page in the private area.
Grüße
Jyothis
Hi,
How do you want the overlay to look? You can start with this:
.av-fixed-size .av-masonry-entry .av-inner-masonry-content, .av-caption-on-hover .av-masonry-item-with-image.av-masonry-entry .av-inner-masonry-content, .av-flex-size.av-caption-on-hover-hide .av-masonry-entry.av-masonry-item-with-image .av-inner-masonry-content {
top: 0;
background: rgba(0,0,0,.5);
}
.main_color .av-masonry-entry-title.entry-title {
color: #ffffff;
}
Best regards,
Ismael
Thank you Ismael,
That helped :)
Grüße
Jyothis