footnote under images when hover
-
Hi,
I'm trying to find a code that enables showing the caption
or description or alt text of each image underneath it when mouse hover. all over my website for each image that has some text info written.
does anyone know a helpful code to this?Thanks a lot in advance!
-
Dear @Xamreglip
you need to code that yourself.What you are looking for is:
- Hide all captions with opacity 0
- A loop through all images
- Get the parent div box with (this)
- Find the box which is the caption and add a class visible which adds opacity 1 !important.
Hope that got you on the right track :-)
Best!
Marius
-
Hi @mariusjopen thank you for helping me out there!
I'm simply using the lightbox captions now -
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it