Badge text colour

web
mobile

Topic: Badge text colour

lede pro asked 10 months ago

Expected behavior Text goes the colour I tell it

Actual behavior Text colour is ignored because the badge has "color: #fff!important;" which overrides the text colour classes

<span class="badge badge-pill yellow blue-text">0</span>

Text should be blue but it remains white


Adam Jakubowski staff answered 10 months ago

Hi.

maybe try this .text{ color:blue !important; } and add this class(text) to <span>.

Best.

Adam


Please insert min. 20 characters.
Status

Answered

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