Ng2ScrollFixed Use 'scroll-fixed-nav' directive; eg <div id='sfNavWrapper'> <div scroll-fixed-nav [scrollTop]='80' fixedClass='fixed'> /*your fixed elements*/ </div> </div>