Selector for Adjusting Image Hover Animation Speed
-
Dear Armin,
I’m writing to ask on which selector I should target to adjust the animation speed of the image hover behavior.
I’ve created a menu using the overlay function, where the menu items trigger the appearance of images as a right background. However, I’ve been unable to identify the correct selector to modify the animation speed for this behavior.
Could you kindly point me in the right direction? I don’t need instructions on how to write the code, but rather where to apply it. I can't find the CSS with the inspector.
Additionally, I’d like to suggest implementing a user-friendly option in the admin panel to customize the animation duration. This would be a great improvement and a big step forward for ease of use.
Thank you very much for your time!
Best regards
-
I solved it with
.lay-imagehover-on-element.transition {
transition: opacity 8000ms ease !important;
} -
very good!
1/3
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