'Delay JS. with WP Rocket broke my sticky navbar
I have a problem in all my websites made in Elementor and optimized with WP rocket.
the problem is with my navigation bar that becomes sticky when scrolling.
I have activated the option to minify and defer.
The problem starts when I activate the javascript delay, there my navigation bar does not sticky anymore when scrolling or if the page loads in some section lower than the top, the bar appears sticky but when it goes up it breaks.
the only way to get it working again is by adding the exceptions to all the jquery, js. and wp includes and content.
But in this way the site does not load the js in a delayed way and it no longer works for me.
did this happen to anyone else??
THANKS!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
