show .gif when with mouse hover on a Project Thumbnail / image
-
Hallo, I would like to work with images that become .gifs with mouse hover. I would like to do that with a project Thumbnail or Image (I know is possible to do it with the Text with the New Addon, but Is not what my client is looking for).
Can someone help me find a way?
Thank you
-
Dear @beucccia
Although not built in to Lay Theme you could do this via Custom Coding.
The .gif could still be called from the media Library via URL ( src=url )
I cant custom code it for you sorry but hopefully these links may help you in the right direction, also if any others on the forum wish to speak up 🌝https://www.tutorialrepublic.com/faq/how-to-change-image-on-hover-with-css.php
Also this thread may help with understand how to call the image from the media library:
http://laythemeforum.com:4567/topic/6087/imagehover-on-element-grid-lightbox-on-carousel
There was also a user who attempted this with a plugin:
http://laythemeforum.com:4567/topic/6174/help-plugin-swap-images-on-hover-js
Hope this helps @beucccia & have a wonderful day
Richard
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