adminlte hide the whole sidebar on toggle

makoto picture makoto · Mar 15, 2016 · Viewed 12.5k times · Source

How can I fix my left side navigation. I am using AdminLTE 2.0 from Nuget.

The error is when I toggle the side it collapse the whole side bar.But then template should partially collapse the side bar when toggled. I used the <body class="hold-transition skin-blue sidebar-collapse sidebar-mini">

EDIT

I tried downloading the template, and it works perfectly and I saw the comment before the body. <!-- the fixed layout is not compatible with sidebar-mini --> , so I tried to get the app.js and app.min.js and replace it in my folders, but still it does not work. Everything is collapsed on the left sidebar

Thank you.

Answer

DPS picture DPS · Aug 23, 2017

Use any of the below html:

1) <body class="hold-transition skin-blue sidebar-collapse sidebar-mini">

2) <body class="hold-transition skin-blue sidebar-mini">

3) <body class="hold-transition skin-blue sidebar-collapse">

for me second one worked.