imagehover addon - transition speed, opacity of images
-
Hey guys,
I need some help from you regarding the imagehover addon.
My website
https://stefanstraeter.com/projects/- How do I get a smooth transition of the images hover while scrolling? For desktop this code works well. How can I adjust the code for mobile devices? Because for mobile its not working.
.lay-imagehover-on-element {
transition: opacity 500ms ease;
}- How can I adjust the opacity of images for mobile? I want an opacity of 0.5 so that the projects are easier to read.
BIG THANKS!
Stefan -
2.:
How can I adjust the opacity of images for mobile? I want an opacity of 0.5 so that the projects are easier to read.
.lay-imagehover-on-element img{ opacity: 0.5!important; }
-
1.:
maybe this
.lay-imagehover-on-element { transition: opacity 500ms ease!important; }
-
Perfect! Its works. Big thank @arminunruh
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