Streaming live at 10am (PST)

Headroom.js working script

Continuing the discussion from Cannot get the jquery pluggin called "headroom.js"to work. Need help please!:

Don’t know if you still need this solved but I looked everywhere and food a solution. Place the code in the body and give your nav or div navbar-fixed-top class and your good to go.

`
.headroom {position: fixed;top: 0;left: 0;right: 0;transition: all .2s ease-in-out;}
.headroom–unpinned {top: -100px;}
.headroom–pinned {top: 0;}

<script type="text/javascript">
    $(".navbar-fixed-top").headroom();
</script>  `

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.