Tip!
The starter page is a good place to start building your app if you’d like to start from scratch.
The layout consists of four major parts:
.wrapper
. A div that wraps the whole site..main-header
. Contains the logo and navbar..sidebar-wrapper
. Contains the user panel and sidebar menu..content-wrapper
. Contains the page header and content.Note!
You cannot use both layout-boxed and layout-navbar-fixed or layout-footer-fixed at the same time. Anything else can be mixed together.
AdminLTE 3.0 provides a set of options to apply to your main layout. Each one of these classes can be added to the body tag to get the desired goal.
.layout-fixed
to get a fixed sidebar..layout-navbar-fixed
to get a fixed navbar..layout-footer-fixed
to get a fixed footer..sidebar-collapse
to have a collapsed sidebar upon loading..layout-boxed
to get a boxed layout that stretches only to 1250px..layout-top-nav
to remove the sidebar and have your links at the top navbar.You can also use the following classes for responsive changes with placing
.layout-*-navbar-fixed
to get a fixed navbar..layout-*-navbar-not-fixed
to get a not fixed navbar..layout-*-footer-fixed
to get a fixed footer..layout-*-footer-not-fixed
to get a not fixed footer.Tip!
If you want to use anchors with a fixed navbar, you need to add
.anchor
to you hidden anchor, e.g.<a id="testAnchor" class="anchor"></a>
.
AdminLTE 3.0 provides a set of color variations to apply to your sidebar (light & dark) & navbar. You can combine any available color with these class prefixes:
.navbar-*
.sidebar-dark-*
.sidebar-light-*
.accent-*
New
You can use override the link/accent color in AdminLTE, you can add
.accent-*
tobody
.
Info
You can combine
.navbar-*
with.navbar-light
or.navbar-dark
.
The following colors are available:
Tip!
You can use these color variations even with
.text-*
,.bg-*
& much more.
For custom colored custom-range you can add this classes:
.custom-range-*
For custom colored custom-switch you can add this classes:
.custom-switch-off-*
(for custom switch off).custom-switch-on-*
(for custom switch on)You can also use bg-*
beside the .toast
to get a nice colored toast.
You can use the all the colors above with these plugins:
.slider-*
(wrapped around the slider).icheck-*