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 -
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com