Horizontal menu configuration
If you would like to have Horizontal Menu (or Topnav) based layout,
- Laravel
-
You can simply use copy paste the
resources/views/layouts/master-layouts.blade.php
code into themaster.blade.php
to make changes in all the pages.
In order to add, change or remove any ui elements from the top bar, simply edit in file
resources/views/layouts/horizontal.blade.php
. The change would reflect in all the files automatically.
How to use pre-built layouts?
Each of the layout options is provided below with steps you would need to perform in the resources/views/layouts/master.blade.php
file:
Topbar Light
Keep your body element with data attributedata-topbar="light" data-layout="horizontal"
E.g. <body data-topbar="light" data-layout="horizontal">
to have Dark
topbar and Light Menubar.
Boxed Layout
Keep your body element with data attributedata-layout-size="boxed" data-layout="horizontal"
E.g. <body data-layout-size="boxed" data-layout="horizontal">
to have boxed layout.
Scrollable Layout
Keep your body element with data attributedata-layout="horizontal" data-layout-scrollable="true"
E.g. <body data-layout-scrollable="true" data-layout="horizontal">
to have Scrollable Layout.