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

How can I change the color of a badge?

  • waterstrider

    Posts: 2
    Member Reply #6699



    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:

    • This topic was modified 2 years, 7 months ago by  waterstrider.

    Posts: 4527
    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.



You must be logged in to reply to this topic.