White font color isn't used in card-text section with 4.4.1

web
mobile

Topic: White font color isn't used in card-text section with 4.4.1

Grischa Kosba asked 3 years ago

In this example card design from the original Bootstrap documentation is the whole text in white font color.But with mdb.min.css version 4.4.1 the card-text isn't changed the font color. It works correctly with version 4.3.2.I have tried to change text-white into white-text with the same result.I am using this CDN source for the css file : https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.1/css/mdb.min.css

Header

Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.


Marta Szymanska staff pro premium answered 3 years ago

Hi,

The class .card-text adds this dark text color, so you can remove this class and the all the text within card will be white or add another .white-text class: .card-text white-text.

Best,

Marta


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes