label color

Re: label color

by Martin Greenaway -
Number of replies: 5

You can change pretty much anything as far as the output goes.  Which label are you looking to change, and which theme are you using?

In reply to Martin Greenaway

Re: label color

by Clay Welsh -

Thank you. I am looking to change the label resource, not sure about the theme.

In reply to Clay Welsh

Re: label color

by Martin Greenaway -

OK - the answer to this depends on whether you want to:

  1. Highlight just one label resource,
  2. Highlight all label resources in a particular course,
  3. Highlight all label resources on the site

Also - see attachment - it depends on whether you want to:

  1. Highlight the whole of the label (full width, out to where the checkbox would be if it were activated - light pink)
  2. Highlight just the text of the label (darker pink). 
Attachment 2017-07-28_10-21-23.jpg
In reply to Martin Greenaway

Re: label color

by Clay Welsh -
I need to highlight more than one but not all label resources. Full width would be better.
In reply to Clay Welsh

Re: label color

by Martin Greenaway -

Ah! That's probably the more awkward combination of answers to deal with.  The following will give you a highlight of a specific label, non-full-width; you can apply the same to each label you want to highlight.

  • Edit the label in question.

  1. Click the "more options" button under the label text field.
  2. Click the "html" button revealed at the end of the new buttons that have appeared.
  3. At the very start of the text, add in the following text:
    <div style="background-color: #ffcccc;">
  4. At the very end of the text, add in the following:
    </div>

  • Save changes.

If you want to change the colour, then you'll need to change the code (currently, #ffcccc is a nice shade of pink).  The handily-named http://htmlcolorcodes.com/ will help you with this.


Attachment 2017-07-31_09-28-45.jpg
Average of ratings: Useful (1)