Change block text colour or background colour

Change block text colour or background colour

autor santap coordinator -
Počet odpovedí: 1

Hi, I'm using Moodle 2.6.1+ and recently added the Course completion status block, however the text area is white and our block text is also set to white - all our other blocks have a black background so the white text is great. I've seen on the forums how to change the block text colour but that would change it for all blocks. Just need to find a way to make the text in the Course completion status block visible without changing the text colour for other blocks. Any suggestions? Thanks Úsmev


Snip of course completion status block with text highlightedSnip of course completion status block

Priemer hodnotení : -
V odpovedi na santap coordinator

Re: Change block text colour or background colour

autor Mary Evans -
Obrázok: Core developers Obrázok: Documentation writers Obrázok: Peer reviewers Obrázok: Plugin developers Obrázok: Testers

Hi,

What is stopping you making that block content, all black, to match your site?

.block_course_status_tracker.block .content { background-color: #000000 !important; }

Or if you just want to change the text color then this should work:

.block_course_status_tracker.block .content { color: #000000 !important; }

Cheers

Mary