Hello All,
How to fix the navbar at the top of the page so that, when the content page is scrolled, the navbar should not overlap the page but should stay fix?
Below is my navbar code which is the default created by wappler.
<nav class="navbar navbar-expand-lg navbar-light ms-3 me-3 ps-2 pe-2 sticky-top">
<a class="navbar-brand" href="#">Navbar</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar1_collapse1" aria-controls="navbar1_collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbar1_collapse1">
<div class="navbar-nav">
<a class="nav-item nav-link active" href="#">Home</a>
<a class="nav-item nav-link" href="#">AboutUs</a>
<a class="nav-item nav-link" href="/register" internal="true">Register</a>
<a class="nav-item nav-link" href="/login" internal="true">Login</a>
</div>
</div>
</nav>