Forcing the colour of the chat discussion pane (pop-up mode): Difference between revisions
From MoodleDocs
David Mudrak (talk | contribs) m (Text replacement - "</code>" to "</syntaxhighlight>") |
David Mudrak (talk | contribs) m (Text replacement - "<code php>" to "<syntaxhighlight lang="php">") |
||
Line 1: | Line 1: | ||
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. | 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. | ||
< | <syntaxhighlight lang="php"> | ||
html { | html { | ||
background: none !important; | background: none !important; |
Latest revision as of 13:31, 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;
}
The above example makes the background white.
(Derived from this discussion in the Theme forum)