Sidebar Layout

Sidebar layout is set as the default layout for Xenon theme so all you have to do is to include the basic markup for the theme and you are all set:

 = 

 

To place the sidebar to the right just add right-sidebar class to the body:

 = 

 

 

To collapse the sidebar add class “collapsed” to “sidebar-menu” container element:

 = 

 

To move the collapsed sidebar just add the class right-sidebar to the body:

 = 

Was this article helpful?