2019-07-15 13:32:00 +00:00
---
layout: page
2019-07-17 21:05:57 +00:00
title: Main Header Component
2019-07-15 13:32:00 +00:00
---
> ##### Reminder!
2020-05-31 12:28:48 +00:00
> AdminLTE uses all of Bootstrap 4 components. It's a good start to review the [Bootstrap documentation](https://getbootstrap.com/) to get an idea of the various components that this documentation __does not__ cover.
2019-07-15 13:32:00 +00:00
{: .quote-orange .mt-0}
> ##### Tip!
> If you go through the example pages and would like to copy a component, right-click on the component and choose "inspect element" to get to the HTML quicker than scanning the HTML page.
{: .quote-info}
The main header contains the navbar. Construction of the navbar differs slightly from Bootstrap because it has components that Bootstrap doesn't provide. The navbar can be constructed in two ways. This is an example for the normal navbar and next we will provide an example for the top nav layout with a logo too.
2019-08-26 08:38:07 +00:00
< nav class = "navbar navbar-expand navbar-white navbar-light ml-0" >
<!-- Left navbar links -->
< ul class = "navbar-nav" >
< li class = "nav-item" >
2020-02-21 14:17:06 +00:00
< a class = "nav-link" data-widget = "pushmenu" href = "#" role = "button" > < i class = "fas fa-bars" > < / i > < / a >
2019-08-26 08:38:07 +00:00
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "index3.html" class = "nav-link" > Home< / a >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "#" class = "nav-link" > Contact< / a >
< / li >
< li class = "nav-item dropdown" >
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
Help
< / a >
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
< a class = "dropdown-item" href = "#" > FAQ< / a >
< a class = "dropdown-item" href = "#" > Support< / a >
< div class = "dropdown-divider" > < / div >
< a class = "dropdown-item" href = "#" > Contact< / a >
< / div >
< / li >
< / ul >
<!-- SEARCH FORM -->
< form class = "form-inline ml-3" >
< div class = "input-group input-group-sm" >
< input class = "form-control form-control-navbar" type = "search" placeholder = "Search" aria-label = "Search" >
< div class = "input-group-append" >
< button class = "btn btn-navbar" type = "submit" >
< i class = "fas fa-search" > < / i >
< / button >
< / div >
< / div >
< / form >
<!-- Right navbar links -->
< ul class = "navbar-nav ml-auto" >
<!-- Messages Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-comments" > < / i >
< span class = "badge badge-danger navbar-badge" > 3< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user1-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 mr-3 img-circle" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Brad Diesel
< span class = "float-right text-sm text-danger" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > Call me whenever you can...< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user8-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
John Pierce
< span class = "float-right text-sm text-muted" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > I got your message bro< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user3-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Nora Silvester
< span class = "float-right text-sm text-warning" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > The subject goes here< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Messages< / a >
< / div >
< / li >
<!-- Notifications Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-bell" > < / i >
< span class = "badge badge-warning navbar-badge" > 15< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< span class = "dropdown-header" > 15 Notifications< / span >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-envelope mr-2" > < / i > 4 new messages
< span class = "float-right text-muted text-sm" > 3 mins< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-users mr-2" > < / i > 8 friend requests
< span class = "float-right text-muted text-sm" > 12 hours< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-file mr-2" > < / i > 3 new reports
< span class = "float-right text-muted text-sm" > 2 days< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Notifications< / a >
< / div >
< / li >
< li class = "nav-item" >
2020-02-21 14:17:06 +00:00
< a class = "nav-link" data-widget = "control-sidebar" data-slide = "true" href = "#" role = "button" > < i
2019-08-26 08:38:07 +00:00
class="fas fa-th-large">< / i > < / a >
< / li >
< / ul >
< / nav >
2019-07-15 13:32:00 +00:00
```html
2020-05-31 13:19:29 +00:00
<!-- Navbar -->
< nav class = "main-header navbar navbar-expand navbar-white navbar-light" >
<!-- Left navbar links -->
< ul class = "navbar-nav" >
< li class = "nav-item" >
< a class = "nav-link" data-widget = "pushmenu" href = "#" role = "button" > < i class = "fas fa-bars" > < / i > < / a >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "index3.html" class = "nav-link" > Home< / a >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "#" class = "nav-link" > Contact< / a >
< / li >
< li class = "nav-item dropdown" >
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown2" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
Help
< / a >
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown2" >
< a class = "dropdown-item" href = "#" > FAQ< / a >
< a class = "dropdown-item" href = "#" > Support< / a >
< div class = "dropdown-divider" > < / div >
< a class = "dropdown-item" href = "#" > Contact< / a >
< / div >
< / li >
< / ul >
<!-- SEARCH FORM -->
< form class = "form-inline ml-3" >
< div class = "input-group input-group-sm" >
< input class = "form-control form-control-navbar" type = "search" placeholder = "Search" aria-label = "Search" >
< div class = "input-group-append" >
< button class = "btn btn-navbar" type = "submit" >
< i class = "fas fa-search" > < / i >
< / button >
< / div >
< / div >
< / form >
<!-- Right navbar links -->
< ul class = "navbar-nav ml-auto" >
<!-- Messages Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-comments" > < / i >
< span class = "badge badge-danger navbar-badge" > 3< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
< img src = "dist/img/user1-128x128.jpg" alt = "User Avatar" class = "img-size-50 mr-3 img-circle" >
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Brad Diesel
< span class = "float-right text-sm text-danger" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > Call me whenever you can...< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
< img src = "dist/img/user8-128x128.jpg" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
John Pierce
< span class = "float-right text-sm text-muted" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > I got your message bro< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
< img src = "dist/img/user3-128x128.jpg" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Nora Silvester
< span class = "float-right text-sm text-warning" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > The subject goes here< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Messages< / a >
< / div >
< / li >
<!-- Notifications Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-bell" > < / i >
< span class = "badge badge-warning navbar-badge" > 15< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< span class = "dropdown-header" > 15 Notifications< / span >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-envelope mr-2" > < / i > 4 new messages
< span class = "float-right text-muted text-sm" > 3 mins< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-users mr-2" > < / i > 8 friend requests
< span class = "float-right text-muted text-sm" > 12 hours< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-file mr-2" > < / i > 3 new reports
< span class = "float-right text-muted text-sm" > 2 days< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Notifications< / a >
< / div >
< / li >
< li class = "nav-item" >
< a class = "nav-link" data-widget = "control-sidebar" data-slide = "true" href = "#" role = "button" > < i
class="fas fa-th-large">< / i > < / a >
< / li >
< / ul >
< / nav >
<!-- /.navbar -->
```
{: .max-height-300}
#### Top Nav Layout. Main Header Example.
> ##### Reminder!
> To use this main header instead of the regular one, you must add the `layout-top-nav` class to the body tag.
{: .quote-orange}
Top navbar example can be found in this [demo page ](https://adminlte.io/themes/dev/AdminLTE/pages/layout/top-nav.html ).
< nav class = "navbar navbar-expand navbar-light navbar-white" >
< div class = "container" >
< a href = "index3.html" class = "navbar-brand" >
< img src = "{{ '/assets/img/AdminLTELogo.png' | prepend: site.baseurl }}" alt = "AdminLTE Logo" class = "brand-image img-circle elevation-3"
style="opacity: .8">
< span class = "brand-text font-weight-light" > AdminLTE 3< / span >
< / a >
2019-07-15 13:32:00 +00:00
<!-- Left navbar links -->
< ul class = "navbar-nav" >
< li class = "nav-item" >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "index3.html" class = "nav-link" > Home< / a >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "#" class = "nav-link" > Contact< / a >
< / li >
2019-08-26 08:38:07 +00:00
< li class = "nav-item dropdown" >
2020-05-31 13:19:29 +00:00
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown3" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2019-08-26 08:38:07 +00:00
Help
< / a >
2020-05-31 13:19:29 +00:00
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown3" >
2019-08-26 08:38:07 +00:00
< a class = "dropdown-item" href = "#" > FAQ< / a >
< a class = "dropdown-item" href = "#" > Support< / a >
< div class = "dropdown-divider" > < / div >
< a class = "dropdown-item" href = "#" > Contact< / a >
< / div >
< / li >
2019-07-15 13:32:00 +00:00
< / ul >
<!-- SEARCH FORM -->
< form class = "form-inline ml-3" >
< div class = "input-group input-group-sm" >
< input class = "form-control form-control-navbar" type = "search" placeholder = "Search" aria-label = "Search" >
< div class = "input-group-append" >
< button class = "btn btn-navbar" type = "submit" >
< i class = "fas fa-search" > < / i >
< / button >
< / div >
< / div >
< / form >
<!-- Right navbar links -->
< ul class = "navbar-nav ml-auto" >
<!-- Messages Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
2020-05-31 13:19:29 +00:00
< i class = "fas fa-comments" > < / i >
2019-07-15 13:32:00 +00:00
< span class = "badge badge-danger navbar-badge" > 3< / span >
< / a >
2020-05-31 13:19:29 +00:00
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
2019-07-15 13:32:00 +00:00
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user1-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 mr-3 img-circle" >
2019-07-15 13:32:00 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Brad Diesel
< span class = "float-right text-sm text-danger" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > Call me whenever you can...< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user8-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-07-15 13:32:00 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
John Pierce
< span class = "float-right text-sm text-muted" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > I got your message bro< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "{{ '/assets/img/user3-128x128.jpg' | prepend: site.baseurl }}" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-07-15 13:32:00 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Nora Silvester
< span class = "float-right text-sm text-warning" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > The subject goes here< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Messages< / a >
< / div >
< / li >
<!-- Notifications Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-bell" > < / i >
< span class = "badge badge-warning navbar-badge" > 15< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< span class = "dropdown-header" > 15 Notifications< / span >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-envelope mr-2" > < / i > 4 new messages
< span class = "float-right text-muted text-sm" > 3 mins< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-users mr-2" > < / i > 8 friend requests
< span class = "float-right text-muted text-sm" > 12 hours< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-file mr-2" > < / i > 3 new reports
< span class = "float-right text-muted text-sm" > 2 days< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Notifications< / a >
< / div >
< / li >
< li class = "nav-item" >
2020-02-21 14:17:06 +00:00
< a class = "nav-link" data-widget = "control-sidebar" data-slide = "true" href = "#" role = "button" > < i
2019-07-15 13:32:00 +00:00
class="fas fa-th-large">< / i > < / a >
< / li >
< / ul >
2020-05-31 13:19:29 +00:00
< / div >
< / nav >
2020-06-02 13:57:24 +00:00
2020-05-31 13:19:29 +00:00
```html
<!-- Navbar -->
< nav class = "main-header navbar navbar-expand navbar-light navbar-white" >
2019-08-26 08:38:07 +00:00
< div class = "container" >
< a href = "index3.html" class = "navbar-brand" >
2020-05-31 13:19:29 +00:00
< img src = "dist/img/AdminLTELogo.png" alt = "AdminLTE Logo" class = "brand-image img-circle elevation-3"
2019-08-26 08:38:07 +00:00
style="opacity: .8">
< span class = "brand-text font-weight-light" > AdminLTE 3< / span >
< / a >
<!-- Left navbar links -->
< ul class = "navbar-nav" >
< li class = "nav-item" >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "index3.html" class = "nav-link" > Home< / a >
< / li >
< li class = "nav-item d-none d-sm-inline-block" >
< a href = "#" class = "nav-link" > Contact< / a >
< / li >
< li class = "nav-item dropdown" >
2020-05-31 13:19:29 +00:00
< a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown4" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
2019-08-26 08:38:07 +00:00
Help
< / a >
2020-05-31 13:19:29 +00:00
< div class = "dropdown-menu" aria-labelledby = "navbarDropdown4" >
2019-08-26 08:38:07 +00:00
< a class = "dropdown-item" href = "#" > FAQ< / a >
< a class = "dropdown-item" href = "#" > Support< / a >
< div class = "dropdown-divider" > < / div >
< a class = "dropdown-item" href = "#" > Contact< / a >
< / div >
< / li >
< / ul >
<!-- SEARCH FORM -->
< form class = "form-inline ml-3" >
< div class = "input-group input-group-sm" >
< input class = "form-control form-control-navbar" type = "search" placeholder = "Search" aria-label = "Search" >
< div class = "input-group-append" >
< button class = "btn btn-navbar" type = "submit" >
< i class = "fas fa-search" > < / i >
< / button >
< / div >
< / div >
< / form >
<!-- Right navbar links -->
< ul class = "navbar-nav ml-auto" >
<!-- Messages Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "fas fa-comments" > < / i >
< span class = "badge badge-danger navbar-badge" > 3< / span >
< / a >
2020-05-31 13:19:29 +00:00
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
2019-08-26 08:38:07 +00:00
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "dist/img/user1-128x128.jpg" alt = "User Avatar" class = "img-size-50 mr-3 img-circle" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Brad Diesel
< span class = "float-right text-sm text-danger" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > Call me whenever you can...< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "dist/img/user8-128x128.jpg" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
John Pierce
< span class = "float-right text-sm text-muted" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > I got your message bro< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
<!-- Message Start -->
< div class = "media" >
2020-05-31 13:19:29 +00:00
< img src = "dist/img/user3-128x128.jpg" alt = "User Avatar" class = "img-size-50 img-circle mr-3" >
2019-08-26 08:38:07 +00:00
< div class = "media-body" >
< h3 class = "dropdown-item-title" >
Nora Silvester
< span class = "float-right text-sm text-warning" > < i class = "fas fa-star" > < / i > < / span >
< / h3 >
< p class = "text-sm" > The subject goes here< / p >
< p class = "text-sm text-muted" > < i class = "far fa-clock mr-1" > < / i > 4 Hours Ago< / p >
< / div >
< / div >
<!-- Message End -->
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Messages< / a >
< / div >
< / li >
<!-- Notifications Dropdown Menu -->
< li class = "nav-item dropdown" >
< a class = "nav-link" data-toggle = "dropdown" href = "#" >
< i class = "far fa-bell" > < / i >
< span class = "badge badge-warning navbar-badge" > 15< / span >
< / a >
< div class = "dropdown-menu dropdown-menu-lg dropdown-menu-right" >
< span class = "dropdown-header" > 15 Notifications< / span >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-envelope mr-2" > < / i > 4 new messages
< span class = "float-right text-muted text-sm" > 3 mins< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-users mr-2" > < / i > 8 friend requests
< span class = "float-right text-muted text-sm" > 12 hours< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item" >
< i class = "fas fa-file mr-2" > < / i > 3 new reports
< span class = "float-right text-muted text-sm" > 2 days< / span >
< / a >
< div class = "dropdown-divider" > < / div >
< a href = "#" class = "dropdown-item dropdown-footer" > See All Notifications< / a >
< / div >
< / li >
< li class = "nav-item" >
2020-02-21 14:17:06 +00:00
< a class = "nav-link" data-widget = "control-sidebar" data-slide = "true" href = "#" role = "button" > < i
2019-08-26 08:38:07 +00:00
class="fas fa-th-large">< / i > < / a >
< / li >
< / ul >
< / div >
< / nav >
2020-05-31 13:19:29 +00:00
<!-- /.navbar -->
2019-07-15 13:32:00 +00:00
```
{: .max-height-300}
2019-08-26 08:38:07 +00:00
> ##### Tip!
> To get a bigger dropdown menu you can add `.dropdown-menu-lg` or `.dropdown-menu-xl` to `.dropdown-menu`.
2020-11-24 07:54:03 +00:00
> You can also get the legacy dropdown offset with adding `.dropdown-offset-legacy` to `.main-header`.
2019-08-26 08:38:07 +00:00
{: .quote-info}