Skip to main content
Best Answer

Course tags having different colors

  • April 16, 2024
  • 8 replies
  • 162 views

JZenker
Guide II
Forum|alt.badge.img+2

I can’t for the life of me figure out why Not Started tags show as #004e72 background (blue) but In Progress and Completed show as Black. Any ideas? Thanks!

 

 

 

Best answer by gstager

I believe these tags are making use of some of your color set under colors.

Yours are going to be different than mine - I reckon.

For example - my NEW tags are using the #008767 and if I change it here it will affect the color of that tag. Other things too… be aware.

 

8 replies

JZenker
Guide II
Forum|alt.badge.img+2
  • Author
  • Guide II
  • April 16, 2024

Or possible know of some code to alter the colors permanently? 


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • Answer
  • April 16, 2024

I believe these tags are making use of some of your color set under colors.

Yours are going to be different than mine - I reckon.

For example - my NEW tags are using the #008767 and if I change it here it will affect the color of that tag. Other things too… be aware.

 


  • Helper I
  • April 16, 2024

@JZenker 

I found that these were directly correlated to the Configure branding and look » Colors settings.

 


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • April 16, 2024

Or possible know of some code to alter the colors permanently? 

You may try playing with

ui-badge-status-success

ui-badge-status-alert

along with others based on the tag

Perhaps you could combine these with the specific pages where you want them changed if you don’t wish a fully global change using the colors page.


JZenker
Guide II
Forum|alt.badge.img+2
  • Author
  • Guide II
  • April 16, 2024

I believe these tags are making use of some of your color set under colors.

Yours are going to be different than mine - I reckon.

For example - my NEW tags are using the #008767 and if I change it here it will affect the color of that tag. Other things too… be aware.

 

Very weird that the tags are controlled by two different system colors - thanks Greg that was it!


Stephen.Barton
Guide II
Forum|alt.badge.img+2

hi, this makes Not Started appear red and everything else green. I cannot differentiate between In progress and Completed.

 

 


mjl93
Novice I
  • Novice I
  • June 26, 2024

Using the suggestion from @MHelme at the below link worked for me. I just swapped out in_progress for completed and I was able to change the background color of the completed courses/learning plans

In Progress Courses Background Color


pierre.andignac
Docebian
Forum|alt.badge.img

@JZenker ​@Stephen.Barton ​@mjl93 

Please find the code below :) 

/* *********************************************** */
/* Course Status Label Colors - Card, List, Channels */
/* *********************************************** */

/* Not Started */
.ui-badge-status-success,
.ui-list-item-status-not_started .ui-badge-status-success {
background-color: #020050 !important;
color: #ffffff !important;
}

/* In Progress */
.ui-badge-status-neutral,
.ui-list-item-status-in_progress .ui-badge-status-neutral,
.ui-card-status-in_progress .ui-badge-status-neutral {
background-color: #F7681E !important;
color: #ffffff !important;
}

/* Completed */
.ui-card-header:has(+ ui-card-content span.color-accent-tertiary) .ui-badge-status-neutral,
.ui-list-item-status-completed .ui-badge-status-neutral,
.ui-card-status-completed .ui-badge-status-neutral {
background-color: #008767 !important;
color: #ffffff !important;
}


I’ve just made a community post you can view HERE.

 

Hope it helps!