Forcing the colour of the chat discussion pane (pop-up mode): Difference between revisions
From MoodleDocs
(Created page with "Where the background colour of the chat pane background is inherited and is difficult to read e.g. the colour makes it hard to see the text. The colour can be forced using the fo...") |
David Mudrak (talk | contribs) m (Text replacement - "</code>" to "</syntaxhighlight>") |
||
Line 10: | Line 10: | ||
background-color: white !important; | background-color: white !important; | ||
} | } | ||
</ | </syntaxhighlight> | ||
The above example makes the background white. | The above example makes the background white. | ||
(Derived from this [http://moodle.org/mod/forum/discuss.php?d=123250 discussion in the Theme forum]) | (Derived from this [http://moodle.org/mod/forum/discuss.php?d=123250 discussion in the Theme forum]) |
Revision as of 13:06, 14 July 2021
Where the background colour of the chat pane background is inherited and is difficult to read e.g. the colour makes it hard to see the text. The colour can be forced using the following in your theme's CSS.
html {
background: none !important;
}
body.mod-chat-gui_header_js {
background: none!important; /*optional: disables any background image in the body area */
background-color: white !important;
}
</syntaxhighlight>
The above example makes the background white.
(Derived from this discussion in the Theme forum)