Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Right side bar in pushes the content to make space for the sidebar #739

Closed
kennedymca opened this issue Oct 15, 2015 · 1 comment

Comments

@kennedymca
Copy link

hi ,
how to create right sidebar looks like left side bar,when i click right side bar the content cannot moved,i need same left side bar option.

@almasaeed2010
Copy link
Contributor

Hello,

In your javascript file disable control-sidebar slide option. This can be done either by adding the following code before loading AdminLTE's app.js file:

AdminLTEOptions.controlSidebarOptions.slide = false;

Or by customizing the app.js file and modifying the following line:

  controlSidebarOptions: {
    //Which button should trigger the open/close event
    toggleBtnSelector: "[data-toggle='control-sidebar']",
    //The sidebar selector
    selector: ".control-sidebar",
    //Enable slide over content
    slide: false /* SET THIS TO FALSE */
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants