Here's the overall flow:
Opacity of the last widget in Primary sidebar is going to be set to 0 via CSS. As the user scrolls down, when the top of last widget is at 50% from top of viewport, animated and fadeIn classes will be added to the widget using Waypoints. The CSS3 animations included in Animate.CSS will kick in and our widget will fade into view. As the top of the widget touches the top of viewport, the widget will get stuck thanks to position:fixed; via StickyJS. As the user scrolls up, we shall remove fadeIn class from the last widget and add fadeOut instead so that widget fades out and disappears.
Upload animate.min.css to child theme directory/css.
Upload waypoints.min.js to child theme directory/js.
Create a file named say, waypoints-init.js having the following code in the same location:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.