Get Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Sidebar minimise

Hello within my Laravel App using metronic i can collapse the main sidebar nav and this will collapse okay. When I move to another page or this page is reloaded the navbar defaults back to the maximised display. Could you tell me why this is happening or how to resolve the issue? I would like the navbar to stay minimised when scrolling through the pages If i have set the navbar to minimise.

Text formatting options

Replies (2)


You can set the sidebar minimized by default.

<ul class="px-5 py-0 m-0"> <li class="py-2">Add data-kt-app-sidebar-minimize="on" attribute on the body element. <li class="py-2">Add active class on the toggle element (id=kt_app_sidebar_toggle). <li class="py-2">Set data-kt-toggle-state="active" attribute on the toggle element (id=kt_app_sidebar_toggle).


The Community-Driven Education is the best to help us and provide great results. The Project Ownership Where it Belongs is amazing and I like that you shared this post for us to know about these ideas. Also from I realize that it is more helpful for us.

Text formatting options
Text formatting options
buy metronic

React Dev Vacancy

KeenThemes is looking for a Junior React or Vue developer to build awesome apps.