Now click on template go to Edit Html and in the Html page click anywhere in the Html code and press ctrl+f or search for jquery.min.js. If you find it then ignore the below code else if you don’t get it just copy the below line and paste it below <head>. If you find another version of this jquery that’s OK it will do fine.
code :
<script src=’http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2′ type=’text/javascript’/>
Now search for </body>. Now Copy below code and paste it just above </body> tag. And here replace the #HTML3 with your Widget HTML no. [ Check below Step for knowing your Widget Id number ]
Code Here
<script type='text/javascript'> $(function() { if ( $(window).width() > 990) { var ks_widget_top = $('#HTML3').offset().top; var ks_sticky_widgets = function(){ var ks_current_top = $(window).scrollTop(); if (ks_current_top > ks_widget_top) { $('#HTML3').css({ 'position': 'fixed', 'top':0, 'z-index':999999 }); } else { $('#HTML3').css({ 'position': 'relative' }); } }; ks_sticky_widgets(); $(window).scroll(function() { ks_sticky_widgets(); }); }else{ } });</script>

No comments:
Post a Comment