Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!

S H R I free asked 8 months ago


import 'mdb-react-ui-kit/dist/css/mdb.min.css

when i add this my whole page bg changing into white


Mateusz Lazaru staff answered 8 months ago


That's not a bug, that's a reboot page default styles. It changes body bg to the value stored in --mdb-body-bg CSS variable. You can override it in your style.css file.

/* style.css */

:root {
  --mdb-body-bg: yellow;
}


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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 7.2.0
  • Device: acer
  • Browser: chrome
  • OS: 11
  • Provided sample code: No
  • Provided link: No
Tags