Topic: Badge text colour

lede premium asked 5 years 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 5 years ago


Hi.

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

Best.

Adam



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: Premium
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.8.5
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No