Basic

Choose from .navbar-light for use with light background colors, or .navbar-dark for dark background colors.

Height

Use .navbar-height for fixed height navbar.

Fixed

Use .navbar-fixed to fix navbar to the top of a page.

Bordered

Use .navbar-bordered for bordered style.

Shadow

Add shadow with .navbar-shadow.

Brand

Use .navbar-brand-logo-short for a small logo size.

With hs-mega-menu.js

Want to add show/hide animations or change the event type to hover? hs-mega-menu.js is the way to do them and many more.

User dropdown

Vertical

Create a vertical navigation with .navbar-vertical.

Collapseable menu

Use .navbar-nav-lg for larger spacings between the links.

Card

Use .card for a card style. Also, using the .card-navbar-nav class adds top and bottom spacings.

Toggler

Navbar will be collapsed below medium size resolution. Reduce browser size to see it in action.

Other classes to note

Class Description
.navbar-container Includes the padding-left and padding-right value of the main content to align the navbar with the main content.
.navbar-flush Used for proper alignment when used along with the .navbar-vertical-aside.
.navbar-brand-wrapper-width Sets fixed width in the size of the .navbar-vertical-aside, so the rest content aligns with the size of the main content.
Example: Sidebar detached fluid layout
.navbar-body Sets fixed height and overflow-y: auto; and used in tandem with the .navbar-fixed where the height of the content exceeds the viewport of the screen.
Example: Header default fluid layout