We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Support Find a Developer Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Support Find a Developer Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Add-Ons
default app icon

MX CP CSS & JS

By Max Lazar
Visit
Description

ExpressionEngine add-on allows you to add custom CSS and Javascript to the Control Panel pages.

Configuration Overrides

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
];
Information
Version 1.0.4
Last Update one month ago
Compatibility EE 6, 5, 4
License MIT
Links
  • Support
Visit
ExpressionEngine Home Features Contact
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.