Adminlte: How to Remove Left Side bar completely

Created on 24 Jul 2015  路  7Comments  路  Source: ColorlibHQ/AdminLTE

i need to remove left side bar completely in my project,
Above 768 screen resolution also

question

Most helpful comment

Hi,

Try using the layout-top-nav option. Documentation: https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#component-main-header

All 7 comments

Hi,

Try using the layout-top-nav option. Documentation: https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#component-main-header

where i put this line "layout-top-nav"

Ctrl+f + "layout-top-nav"

"To use this main header instead of the regular one, you must add the layout-top-nav class to the body tag"

You should also make sure that you are using the correct HTML markup. This can be found in the pages/layout/top-nav.html.

thank u

I have done it. thank you

to clarify : open file _Layout.csml // todo step

  1. change <body class="hold-transition sidebar-mini"> to <body class="hold-transition layout-top-nav">
  2. remove : @Html.Partial("_NavBar")
  3. remove : @Html.Partial("_SideBar")
Was this page helpful?
0 / 5 - 0 ratings

Related issues

kgoedert picture kgoedert  路  4Comments

GuxMartin picture GuxMartin  路  3Comments

vbetancourt picture vbetancourt  路  3Comments

LeoYong95 picture LeoYong95  路  4Comments

tester10 picture tester10  路  3Comments