- 27 Sep 2024
- 1 minute to read
Override default theme colour
- Updated on 27 Sep 2024
- 1 minute to read
For custom themes, the default colour for the Mustache template needs to be overridden for the custom theme to apply. This change can be made via the user interface in Totara, or via a hard-code change.
In Totara
To override the default colours via the Totara user interface, follow these steps:
- Go to Quick-access menu > Appearance.
- Select the theme you wish to edit (e.g. Inspire) from the Appearance block.
- Click Edit site brand (or click the edit icon for a tenant if you are using multitenancy with different themes).
- Select the Colours tab.
- Toggle on Use overriding colours.
- Enter the overriding colours.
- Click Save.
In code
If you are experienced with editing Totara code then you can hard-code the change into the background colour default in the server/theme/legacy/templates/core/email_html.mustache template, or override it in the theme's directory.
The Totara Academy has a whole course dedicated to using Dashboards and basic theming in Totara. Here you can learn more on how to customise your site's appearance, see best practice, and give it a go yourself.
© Copyright 2024 Totara Learning Solutions. All rights reserved.