change background color change on hover on project thumbnails
-
Hi! any idea to change background color change on hover on project thumbnails?
Here an example:
https://www.stripe.press/poor-charlies-almanack/archiveIt would be great to include it as a feature!!
-
you need to use javascript to do that :|
i don't really have time to code that js for you at the momenti think i wont include this as a feature cause its a lot of work and im not sure many people would use it
-
basically you need to use
https://api.jquery.com/mouseenter/and
https://api.jquery.com/mouseleave/
and then
https://stackoverflow.com/questions/4780670/how-to-set-background-color-in-jquery
and then bind the mouseenter and mouseleave in a delegated way:
https://laytheme.com/documentation/custom-javascript.html#binding-click-eventsits difficult if u haven't done sth like that before
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