Hi Andrew,
On this site, I'm using the sticky plugin:
https://www.reali.org.il/en/%d7%aa%d7%99%d7%9b%d7%95%d7%9f-%d7%94%d7%93%d7%a8/
You will see that on the first load, the sidebar jumps to the top after scrolling a bit. After refreshing the page, the sidebar works as expected. Any idea why this is happenning?
This is the code used:
`jQuery(document).ready(function($){
if($(window).width()>768){
$('.widget-area').sticky({
topSpacing: 0, // Space between element and top of the viewport
zIndex: 100, // z-index
stopper: "#footer" // Id, class, or number value
});
}
});`
Thanks!
Dan
Hi Andrew,
On this site, I'm using the sticky plugin:
https://www.reali.org.il/en/%d7%aa%d7%99%d7%9b%d7%95%d7%9f-%d7%94%d7%93%d7%a8/
You will see that on the first load, the sidebar jumps to the top after scrolling a bit. After refreshing the page, the sidebar works as expected. Any idea why this is happenning?
This is the code used:
`jQuery(document).ready(function($){
if($(window).width()>768){
$('.widget-area').sticky({
topSpacing: 0, // Space between element and top of the viewport
zIndex: 100, // z-index
stopper: "#footer" // Id, class, or number value
});
}
});`
Thanks!
Dan