Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Forcing the colour of the chat discussion pane (pop-up mode)

From MoodleDocs
Revision as of 13:31, 14 July 2021 by David Mudrak (talk | contribs) (Text replacement - "<code php>" to "<syntaxhighlight lang="php">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)