Vertical
Vertical Layout Configuration
You can change the left side navigation very easily by adding the below attribute to the body tag in the resources/views/layouts/master-layouts.blade.php
file. data-layout="vertical" data-sidebar="dark" data-topbar="light"
and comment out the code {{-- @include('layouts.hor-menu') --}}
and uncomment this code @include('layouts.sidebar')
.
How to add new menu items/change menu items?
In order to add, change or remove menu items from the left side navigation, simply edit file resources/views/layouts/sidebar.blade.php
. The change would reflect in all the blade files automatically. Note that if you add any menu in sidebar, you have to also add in hor-menu.blade.php
file.
How to use pre-built layouts?
Please do the below change in the html element at
resources/views/layouts/master-layouts.blade.php
file. ex:
<body data-layout-size="fluid">
Layout Width
data-layout-size="fluid"
data-layout-size="boxed"
Topbar Colors
data-topbar="light"
data-topbar="dark"
Sidebar Sizes
data-sidebar-size="lg"
data-sidebar-size="small"
Sidebar Colors
data-sidebar="light"
data-sidebar="dark"
data-sidebar="colored"