Topic: Issues with Changing Background color sidenav
                                            
                                            stokkup2313
                                     pro  premium  priority                                     asked 4 years ago                                
Hi i am trying to update the background for the sidenav but it doesnt stick. ive tried changing my primary theme and updating that way but cannot get it to work. do you have an example of this?
                                                    
                                                    Arkadiusz Idzikowski
                                             staff                                             answered 4 years ago                                        
@stokkup2313    In this case you need to override the sidenav css styles. Please try to add this rule to the styles.scss file:
mdb-sidenav .sidenav {
  background-color: red;
}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.6.1
- Device: desktop
- Browser: chrome
- OS: macOs
- Provided sample code: No
- Provided link: No
stokkup2313 pro premium priority commented 4 years ago
added bg-primary h-100 in the ul class