Bootstrap Home

Navbars

Basic Navbar Example

A navigation bar is a navigation header that is placed at the top of the page.


Vertical Navbar Example

A navigation bar is a navigation header that is placed at the top of the page.


Centered Navbar

Use the .justify-content-center class to center the navigation bar.


Colored Navbar

Use any of the .bg-color classes to add a background color to the navbar.

Add a white text color to all links in the navbar with the .navbar-dark class, or use the .navbar-light class to add a black text color.


Brand / Logo

The .navbar-brand class is used to highlight the brand/logo/project name of your page.

Text

Image

Image And Text


Navbar Text

Use the .navbar-text class to vertical align any elements inside the navbar that are not links (ensures proper padding).


Collapsible Navbar

Only when the button is clicked will the navigation bar be displayed.


External Content

Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the navbar.


Navbar With Dropdown

This example adds a dropdown menu in the navbar.


Navbar Forms

You can also include forms inside the navigation bar.


Offcanvas Navbar

Transform your expanding and collapsing navbar into an offcanvas drawer with the offcanvas plugin.


Fixed Navigation Bar