CSS Classes
This table contains all classes related to the fixed navigation layout. This is a custom layout classes for fixed navigation layout page requirements.
All these options can be set via following classes:
Classes | Description |
---|---|
.menu-fixed |
To set navigation fixed you need to add .menu-fixed class in menu wrapper. Refer HTML markup line no 12. |
This section contains HTML Markup to create fixed navigation layout. This markup define where to add css classes to make navigation fixed.
- Line no 12: Contain the
.menu-fixed
class for adjusting navigation fixed on top.
Stack has a ready to use starter kit, you can use this layout directly by using the fixed-navigation.html
<!DOCTYPE html>
<html lang="en">
<head></head>
<body data-menu="vertical-menu" class="vertical-layout vertical-menu 2-column menu-expanded">
<!-- fixed-top-->
<nav role="navigation" class="header-navbar navbar navbar-with-menu navbar-dark navbar-shadow navbar-border">
...
</nav>
<!-- BEGIN Navigation-->
<div class="main-menu menu-dark menu-fixed menu-shadow">
...
</div>
<!-- END Navigation-->
<!-- BEGIN Content-->
<div class="content stack-content container-fluid">
<div class="content-wrapper">
<!-- content header-->
<div class="content-header row">
...
</div>
<!-- content header-->
<!-- content right-->
<div class="content-right">
...
</div>
<!-- content right-->
</div>
</div>
<!-- END Content-->
<!-- START FOOTER DARK-->
<footer class="footer footer-dark">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>