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.The starter page is a good place to start building your app if you'd like to start from scratch.
AdminLTE 2.0 provides a set of options to apply to your main layout. Each on of these classes can be added to the body tag to get the desired goal.
.fixed
to get a fixed header and sidebar..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.Note: you cannot use both layout-boxed and fixed at the same time. Anything else can be mixed together.
Skins can be found in the dist/css/skins folder. Choose and the skin file that you want then add the appropriate class to the body tag to change the template's appearance. Here is the list of available skins: