navbar fixed-top after scrolling bootstrap 4 code example Example: bootstrap navbar fixed top <section id="headnev" class="navbar navbar-fixed-top">