Material Tooltip Colors


Topic: Material Tooltip Colors

SGalway pro asked 6 years ago

Hi - how can I change the background color of a material tooltip? I can change the text color with '.md-inner' but I can't work out how to change the background color.

Example

Thanks


Krzysztof Wilk staff answered 6 years ago

Hello!

You have to add !important in your css after background-color value. It should look like this: .md-inner { background-color: green !important; }


SGalway pro answered 6 years ago

Thanks - appreciate it. I was close LOL


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes