fixed-top navbar bootstrap
<nav class="navbar navbar-expand-sm bg-light fixed-top">
Source: getbootstrap.com
bootstrap navbar fixed top
<section id="headnev" class="navbar navbar-fixed-top">
Source: stackoverflow.com
bootstrap fixed top navbar covers content
add this css in body, it will work perfectly! body{ padding-top: 56px; }