Issues with Changing Background color sidenav


Topic: Issues with Changing Background color sidenav

stokkup2313 pro premium priority asked 3 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?


stokkup2313 pro premium priority commented 3 years ago

added bg-primary h-100 in the ul class


Arkadiusz Idzikowski staff answered 3 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;
}

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • 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