Fade in items on load
-
wrote on Dec 17, 2015, 9:45 PM last edited by
Hey,
I was wondering if it's possible to fade in items on load? Or if it is possible, one specific text frame.
-
You could use css to make the textframe have opacity: 0 and an opacity transition. Then with javascript you could set the opacity to "1". http://laytheme.com/how-to-use.html#custom-javascript
So, there's no way other than coding it yourself. The images already fade in because that's the animation when they were loaded. But videos and texts don't fade in.
-
You could use css to make the textframe have opacity: 0 and an opacity transition. Then with javascript you could set the opacity to "1". http://laytheme.com/how-to-use.html#custom-javascript
So, there's no way other than coding it yourself. The images already fade in because that's the animation when they were loaded. But videos and texts don't fade in.
wrote on Dec 18, 2015, 3:58 PM last edited by@arminunruh Thanks a lot Armin, I'm gonna try this out.
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
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