Cover Parallax/Darkening not functioning on 3.0.7
-
Cover parallax doesn't seem to toggle anything. Darken doesn't either but in the linked example only Cover is toggled:
-
Cover parallax doesn't seem to toggle anything. Darken doesn't either but in the linked example only Cover is toggled:
@joshsender
Here was it working in a previous test: https://huhclever.com/stage/test
And note the javascript for fading as scroll that was working no longer does..Any help would be amazing! Thank you so much!!
<script> jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; $(".fadeout").css("opacity", opacity); }); </script> -
can you change all of your custom code to use "jQuery" instead of "$"
like
jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; $(".fadeout").css("opacity", opacity); });should be
jQuery(window).scroll(function(){ var start = 0, end = 500; var opacity = 1 - (jQuery(window).scrollTop() - start) / (end - start); if (opacity > 1 ) opacity = 1; if (opacity < 0 ) opacity = 0; jQuery(".fadeout").css("opacity", opacity); }); -
Awesome, looks like 3.0.9 fixed all the issues I was seeing since updating to 3!! Thanks for the super fast fixes and pushing those updates out. You're amazing!
-
Ah thanks a lot!!
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/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