08-14-2018, 03:12 PM
There's a lot of ways to fix this. Depends on how you are presenting the nav. For me, my nav is fixed height, and I have a custom collapse script that pulls in elements on scroll and squishes the whole thing down to yet another custom size. On account of that, I use a margin-top on the <body> and modify it on collapse.
sort of like that.
Code:
body {
margin-top: 80px;
}
nav {
height: 80px;
position: fixed;
}
sort of like that.