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

Sidebar miximize when refresh page

Hello within my react App using metronic i can collapse the main sidebar nav and this will collapse okay. When I refresh page 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 refresh page If i have set the navbar to minimise.

Text formatting options

Replies (1)


Thank you for reaching out to us.

To make the sidebar minimized by default you can follow the steps below:

  1. Open src/_metronic/layout/core/_LayoutConfig.ts.

  2. Change property app.sidebar.default.minimize to true

  3. Clear localStorage in your browser and hard refresh the page.

Lauris Stepanovs,
Keenthemes Support Team
Text formatting options
Text formatting options