footnote under images when hover
General Discussion
4
Posts
2
Posters
485
Views
-
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 -
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com