I’d like to get image caption so that it displays not until on mouse hover, like it works on masonry gallery. Is it possible?
And what is the css, if I change the font size bigger?
Hey,
Thanks for contacting us!
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
.av-image-caption-overlay-center {
opacity: 0;
}
.av-image-caption-overlay:hover .av-image-caption-overlay-center {
opacity: 1;
}
Best regards,
Yigit
EDIT: It works! There were a cache problem first.
Hi,
It works fine on my end. I attached a GIF in private content field. It is pretty small but you can see that title shows up when you hover on images.
Please flush browser cache and refresh your page a few times :)
Best regards,
Yigit
It works! There were a cache problem first.
How could I get the font bigger?
Hi,
Great!
You can add following code to bottom of Quick CSS field and adjust the size as needed
.av-image-caption-overlay-center {
font-size: 40px;
}
Best regards,
Yigit
Thank you again! I’m so happy for that you are there always helping!
Hi tammiviestinta,
I’m glad that Yigit could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko