Description
Modern Admin provides flexible horizontal navigation component, which allows you to modify navigation colors, appearance of different types of content, components placement etc. This page contain all navigation styling options.
All this functionality is available by setting proper classes to the horizontal navigation components and navigation itself. Below table contain all available classes that can be used with the navigation:
All these options can be set via following classes:
Classes | Description |
---|---|
.navbar-fixed |
To create horizontal fixed navigation, you need to add .navbar-fixed
class in navigation <div> tag. Fore more information please
check horizontal-nav-fixed.html |
.navbar-flipped |
To create horizontal flipped navigation, you need to add .navbar-flipped
class in navigation <div> tag. Fore more information please
check horizontal-nav-flipped.html |
.navbar-light |
To create light horizontal navigation, you need to add .navbar-light
class in navigation <div> tag. Fore more information please
check horizontal-nav-light.html |
.navbar-dark |
To create dark horizontal navigation, you need to add .navbar-dark
class in navigation <div> tag. Fore more information please
check horizontal-nav-dark.html |
.navbar-without-dd-arrow |
To remove the horizontal navigation dropdown arrow, you need to add .navbar-without-dd-arrow
class in navigation <div> tag. This navigation class is
optional. Fore more information please check horizontal-nav-no-dropdown.html |
.navbar-icon-right |
To create horizontal navigation with right side icons, you need to add .navbar-icon-right
class in navigation <div> tag. This navigation class is
optional. Fore more information please check horizontal-nav-right-side-icons.html |
.navbar-border |
Add horizontal navigation border bottom by adding .navbar-border class
in navbar <nav> tag. This navigation class is optional. |
.navbar-shadow |
Add horizontal navigation shadow by adding .navbar-shadow class in
navbar <nav> tag. This navigation class is optional. |
.disabled |
To disabled horizontal navigation menu link, you need to add .disabled
class in navigation <li> tag. This navigation class is optional.
Fore more information please check horizontal-nav-disabled.html |
This section contains HTML Markup to demonstrate horizontal navigation styling options. This markup define where to add css classes to customize navigation as per your requirements.
- Line no 12 (Navigation position options): Contain the
.navbar-fixed
class to set navigation position fixed, here you can use any one class from.navbar-fixed
&.navbar-static
. - Line no 12 (Navigation color options): Contain the
.navbar-dark
class to set navigation color dark, here you can use any one class from.navbar-light
&.navbar-dark
. - Line no 12: The rest of the navigation classes like
.navbar-icon-right
,.navbar-border
&.navbar-shadow
are optional and cab be used on your custom requirements.
<!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 fixed-top navbar-dark navbar-shadow navbar-border">
...
</nav>
<!-- BEGIN Horizontal Navigation-->
<div role="navigation" data-menu="menu-wrapper" class="header-navbar navbar navbar-horizontal navbar-light navbar-border navbar-without-dd-arrow"">
...
</div>
<!-- END Horizontal Navigation-->
<!-- BEGIN Content-->
<div class="content modern-content container-fluid">
<div class="content-wrapper">
<!-- content header-->
<div class="content-header row">
...
</div>
<!-- content header-->
<!-- content body-->
<div class="content-body">
...
</div>
<!-- content body-->
</div>
</div>
<!-- END Content-->
<!-- START FOOTER DARK-->
<footer class="footer footer-dark">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>