Closed dragosct closed 6 years ago
Hi! If you want to change the sidebar background color with another color that it's not used in Paper Dashboard Pro you have you to follow the steps:
assets/sass/paper/_variables.scss
$red-background-color: #ff0000; $white-color: #ffffff;
assets/sass/paper/_sidebar-and-main-panel.scss
.sidebar, .off-canvas-sidebar
.sidebar, .off-canvas-sidebar{ &[data-background-color="red"]{ @include sidebar-background-color($red-background-color, $white-color); } }
assets/css/paper-dashboard.css
Regards, Dragos
Hi! If you want to change the sidebar background color with another color that it's not used in Paper Dashboard Pro you have you to follow the steps:
assets/sass/paper/_variables.scss
and declare your background color variable and the variable for the text of the sidebar. For example:assets/sass/paper/_sidebar-and-main-panel.scss
and you have to add inside of the classes.sidebar, .off-canvas-sidebar
the following lines of code:assets/css/paper-dashboard.css
.Regards, Dragos