Bo dinglesTM - -   Bright Lightbulb GraphicIdeas   - -

The Web Developer Bootcamp 2024

Colt Steele

Back to Bootstrap Index Page


Bootstrap Navbars

There is a lot of variation and complexity involved in making Bootstrap Navbars, so be sure to review the documentation for more information and examples. Information on Bootstrap Navbars can be found here. The very basic concept is :

The code bg-success is for the BACKGROUND color and navbar-light is for the TEXT color, but it should be noted that the code navbar-light is refering to a light or dark THEME. If you call for a "Light" theme you are going to get DARK text and if you call for a "Dark" theme, you are going to get LIGHT text



You can create your "nav" items by all the normal means of creating links such as using List's or straight up Anchor tags. You can also include Buttoms, Images, or Form elements into your navbar.

Bootstrap "Fluid" Navbar Example

The Home link is brighter because it is an "Active" link. The Features/Pricing links are dimmer because they are NOT "Active" links. The Disabled link is greyed out because it is a "Disabled" Link.

You can change the background color of the navbar by adding a style to the < nav class="navbar"> line, such as: < nav class="navbar" style="background-color: #9b8144;"> and REMOVING bg-dark. You can also change the color for the "Search Bar" button with the < button class="btn btn-outline-success">


Here is the code:

Back to Top