Topic: How to customize badge color in custom skin

Giovanni De Stefano priority asked 4 years ago


How can I redefine:

  1. the secondary color through the skin
  2. the default color through the skin

in order to change the badge color as follows:

        <mdb-badge pill="true" color="secondary-color">14</mdb-badge>
        <mdb-badge pill="true" default="true">14</mdb-badge>


Thanks, Giovanni

Konrad Stępień staff answered 4 years ago

Hi @Giovanni De Stefano,

This post is exactly a solution to your issue. Please visit this page and tell me if you resolve the problem or you need more information.

Best, Konrad.

Giovanni De Stefano priority commented 4 years ago

Hello @Konrad, it works perfectly! Thanks! :-)

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 9.0.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No