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