Horizontal menu configuration

If you would like to have Horizontal Menu (or Topnav) based layout,

You need to update the below code in the templates/partials/body.html.twig
<body data-layout="horizontal" data-topbar="dark">
And in templates/partials/menu.html.twig
{{ include('partials/horizontal.html.twig') }}
It will set horizontal layouts in all the pages.

In order to add, change or remove any ui elements from the topbar, simply edit in file templates/partials/horizontal.html.twig. 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 templates/partials/body.html.twig:

image
Topbar Dark
Keep your body element with data attribute data-topbar="dark" data-layout="horizontal" E.g. <body data-topbar="dark" data-layout="horizontal"> to have dark topbar and dark menubar.
image
Boxed Layout
Keep your body element with data attribute data-layout-size="boxed" data-layout="horizontal" E.g. <body data-layout-size="boxed" data-layout="horizontal"> to have boxed layout.
image
Scrollable Layout
Keep your body element with data attribute data-layout="horizontal" data-layout-scrollable="true" E.g. <body data-layout="horizontal" data-layout-scrollable="true"> to have Scrollable Layout.
image
Colored Header
Keep your body element with data attribute data-topbar="colored" data-layout="horizontal" E.g. <body data-layout="horizontal" data-topbar="colored"> to have colored topbar and dark menubar.
image
Preloader
In order to add pre-loader in your page, include following html after body 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>
© Themesdesign.
Crafted with by Themesdesign