The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

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
Submit

Replies (2)


Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.

Raped


 
Deleted comment
 
Deleted comment
 
Deleted comment

Hi

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).

Thanks


Text formatting options
Submit
Text formatting options
Submit
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.