ExpressionEngine add-on allows you to add custom CSS and Javascript to the Control Panel pages.
Main configuration file
The main configuration file, found at system/user/config/config.php, is loaded every time the system is run, meaning that config overrides set in config.php always affect the system’s configuration.
// Dev config
$config['css_js_settings'] = [
'js' => '',
'css' => '.ee-sidebar__title {background-color:#ff6003} .ee-main-header {background-color:#ff6003}',
'css_file' => 'custom_dev.css',
'js_file' => 'custom_dev.js',
'enable' => true
];
// Production config
$config['css_js_settings'] = [
'js' => '',
'css' => '.ee-sidebar__title {background-color:#A2FF03}',
'css_file' => 'custom_prod.css',
'js_file' => 'custom_prod.js',
'enable' => true
];
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.