Navbar Brand Center

The navbar brand center navbar option has center aligned brand in navbar.

Description

The navbar brand center navbar option has center aligned brand in navbar. This option can be use with any color and type of navbar i.e dark, semi dark & light.

Examples

Custom light colors

Classic white

Light amber

Teal without shadow

Light red

Dark

Custom dark colors

Teal

Blue grey without shadow

Purple

CSS Classes

This table contains all classes which can be used in navbar brand center. You can combine them as per navbar template requirements.

All these options can be set via following classes:

Classes Description
.navbar-brand-center To set navbar brand center you need to add .navbar-brand-center class in navbar <nav> tag. Refer HTML markup line no 2.
.navbar-light To set navbar light color you need to add .navbar-light class in navbar <nav> tag. Refer HTML markup line no 2.
.navbar-dark To set navbar dark color you need to add .navbar-dark class in navbar <nav> tag. Refer HTML markup line no 2.
.bg-[color]

To set the dark navbar background color use .bg-[color] class where [color] is the value of your selected color from robust color palette. So for teal color background class will be .bg-teal. Refer HTML markup line no 2. Background color class is a optional if you don't it will take white background default.

.bg-darken-[*]

To set the selected background color darken use .bg-darken-[*] class where [*] is the value between '1-5' of your selected darken color from robust color palette. So for color darken 4 background class will be .bg-darken-4. Refer HTML markup line no 2. Background darken color class is a optional if you don't it will take white background default.

.bg-darken-[*] class will work only if you have used .bg-[color].

.border-[color]

To set the dark navbar border color use .border-[color] class where [color] is the value of your selected color from robust color palette. So for teal color border class will be .bg-teal. Refer HTML markup line no 2. Border color class is a optional.

.border-darken-[color]

To set the selected border color darken use .border-darken-[*] class where [*] is the value between '1-5' of your selected darken color from robust color palette. So for color darken 4 border class will be .border-darken-4. Refer HTML markup line no 2. Border darken color class is a optional.

.border-darken-[*] class will work only if you have used .border-[color].

HTML Markup

This section contains HTML Markup to create navbar brand center. This markup define where to add css classes to make navbar brand center.

  • Line no 1: Contain the .navbar-brand-center class for adjusting navbar color .navbar-dark or .navbar-light. It has also .bg-teal & bg-darken-5 to set darken background color and border-teal & border-darken-4 to set darken border.
          
                <!-- fixed-top-->
                <nav  class="header-navbar navbar-expand-sm navbar navbar-with-menu navbar-brand-center navbar-dark bg-teal bg-darken-5 border-teal border-darken-4">
                    <div class="navbar-wrapper">
                        <div class="navbar-header">
                            <ul class="nav navbar-nav mr-auto">
                                <li class="nav-item mobile-menu d-md-none float-left">
                                    <button class="nav-link menu-toggle hamburger hamburger--arrow js-hamburger is-active"><span class="hamburger-box"></span><span class="hamburger-inner"></span></button>
                                </li>
                                <li class="nav-item">
                                    <a href="index.html" class="navbar-brand nav-link"><img src="../../../app-assets/images/logo/logo-light.png"></a>
                                </li>
                                <li class="nav-item d-md-none float-right"><a data-toggle="collapse" data-target="#navbar-mobile" class="nav-link open-navbar-container collapsed" aria-expanded="false"><i class="ft-ellipsis-h pe-2x icon-rotate-right"></i></a></li>
                            </ul>
                        </div>
                        <div class="navbar-container content">
                            <div id="navbar-mobile" class="collapse navbar-collapse">
                                <ul class="nav navbar-nav mr-auto">
                                    <li class="nav-item"><a class="nav-link active" href="#">Active</a></li>
                                </ul>
                                <ul class="nav navbar-nav">
                                    <li class="nav-item"><a class="nav-link" href="#">Link</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </nav>
                <!--/ fixed-top-->