Hi, I am trying to buld sticky navbar using skrollr in wordpress. I added skrollr in head and data-anchor-target=".wrap" data-200-top="opacity:0;" data-150-top="visibility:visible; top: -55px; opacity: 0.3;" data-100-top="opacity: 1; position: fixed; top: 0;" into my navbar. but its not working. i see the skrollr is loaded . Please help . thanks
As far as I can see, you haven't initilized skrollr on the page. If you look at all the examples, you'll see that they're started via a javascript-call on the page itself. <script type="text/javascript"> skrollr.init({ forceHeight: false }); </script> Code (markup):