Vertical menu configuration
How to use pre-built layouts?
Each of the layout options is provided below with steps you would need to perform in:
Light Sidebar & Topbar Light
Remove data attributedata-sidebar="light"
body element to
have light sidebar. Add data attribute
data-topbar="light"
body element to
have
light topbar.
Compact Sidebar
Keep your body element with data attributedata-sidebar-size="small"
E.g.
<body data-sidebar-size="small">
to have small sidebar.
Icon Sidebar
Keep your body element with classvertical-collpsed"
E.g.
<body class="vertical-collpsed">
to have icon sidebar.
Boxed Layout
Keep your body element with classvertical-collpsed
and data attribute
data-layout-size="boxed" data-keep-enlarged="true"
E.g.
<body class="vertical-collpsed" data-layout-size="boxed" data-keep-enlarged="true">
to have boxed layout with icon view sidebar.
Colored Sidebar
Keep your body element with data attributedata-topbar="colored"
E.g.
<body data-topbar="colored">
to
have colored sidebar.
Scrollable
Keep your body element with data attributedata-layout-scrollable="true"
E.g.
<body data-layout-scrollable="true" >
to have scrollable layout.
Preloader
In order to add pre-loader in your page, include following html afterbody
element.
<div id="preloader">
<div id="status">
<div class="spinner-chase">
<div class="chase-dot"></div>
<div class="chase-dot"></div>
<div class="chase-dot"></div>
<div class="chase-dot"></div>
<div class="chase-dot"></div>
<div class="chase-dot"></div>
</div>
</div>
</div>