Description
The fixed navbar layout has a fixed navbar and navigation menu and footer. Only navbar section is fixed to user. In this page you can experience it.
CSS Classes
This table contains all classes related to the fixed navbar layout. This is a custom layout classes for fixed navbar layout page requirements.
All these options can be set via following classes:
Classes | Description |
---|---|
.navbar-sticky |
To set navbar fixed you need to add navbar-sticky class in <body> tag. |
.fixed-top |
To set navbar fixed you need to add fixed-top class in <nav> tag. |
HTML Markup
This section contains HTML Markup to create fixed navbar layout. This markup define where to add css classes to make navbar fixed. Navbar Menu has not spacing between navigation menu and navbar menu.
Frest has a ready to use starter kit, you can use this layout directly by using the starter kit pages from the frest-clean-bootstrap-admin-dashboard-template/starter-kit
folder.
<!DOCTYPE html>
<html lang="en">
<head></head>
<body class="vertical-layout vertical-menu-modern 2-column navbar-sticky menu-expanded" data-menu="vertical-menu-modern" >
<!-- fixed-top-->
<nav class="header-navbar navbar-expand-lg navbar navbar-with-menu fixed-top navbar-light navbar-shadow">
...
</nav>
<!-- Begin Navigation-->
<div class="main-menu menu-fixed menu-light menu-accordion menu-shadow expanded">
...
</div>
<!-- End Navigation-->
<!-- Begin Content-->
<div class="app-content content">
.....
</div>
<!-- End Content -->
<!-- Start Footer light -->
<footer class="footer footer-static footer-light">
...
</footer>
<!-- End Footer Light -->
</body>
</html>