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!


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

Grischa Kosba free asked 7 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 Wierzbicka staff answered 7 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.

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: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags