Adminlte: hide sidebar by default

Created on 18 Oct 2014  路  5Comments  路  Source: ColorlibHQ/AdminLTE

Assalamua'alaikum..
I'm beginner and still learn. it a fantastic theme, i've try it for practice.
how to hide left side bar on start without clicking the toggle navigation first.
I'm sorry for this dumb question. thank you so much..

Most helpful comment

@vsuryakala If you use AdminLTE v2.3.x then you need only to add sidebar-collapse to body class

All 5 comments

Hello! Alykum Alslam

I am not sure if you can do that! But I think if you add the collapse-left class to the sidebar (.left-side) and the strech class to the main content (.right-side), it might work.

screen shot 2014-10-20 at 12 46 12 pm

great!! it works... thank you, you're the best

how to copy your code @almasaeed2010

@vsuryakala If you use AdminLTE v2.3.x then you need only to add sidebar-collapse to body class

Was this page helpful?
0 / 5 - 0 ratings