This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 1 month ago.

How can I change the color of a badge?


  • waterstrider
    Participant

    Posts: 2
    Member Reply #6699

    Hi,

     

    Please suggest how can I change the color of a badge? This is what I have at the moment.

     

    <span class=”badge badge-warning”>10</span>

    I tried using the following but it did not work:

    <span class=”badge badge-green-jungle”>10</span>

     

    P.S: Also advise if I can use any custom colors other than the ones listed in here: http://keenthemes.com/preview/metronic/theme/admin_1/ui_colors.html

    • This topic was modified 2 years, 1 month ago by  waterstrider.
    Sean
    Sean
    Keymaster

    Posts: 4522
    Support Staff Reply #6715

    Hi :),

    You can change the badge bg color using bg color helper class for selected color:

    <span class=”badge badge-default bg-red”>10</span> 

    If you need any further clarifications please let us know.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.