Question
How to customize the Plesk interface with custom CSS and JavaScript?
Answer
Plesk Onyx
Custom CSS directives can be put into the file custom.css:
- On Linux:
/usr/local/psa/admin/htdocs/theme/css/custom.css
. - On Windows:
%plesk_dir%adminhtdocsthemecsscustom.css
.
See the following documentation for details: Using Custom Themes.
Plesk Obsidian
Custom themes should be used for customization. See the following documentation for details: Using Custom Themes.
For adding custom JavaScript (CSS also can be added), an extension for Plesk should be developed. For more information on that, check the following resources:
- Developing Extensions for Plesk.
- Example extensions in our GitHub account: https://github.com/plesk/ext-example, https://github.com/plesk/ext-embed-js.
For all questions on developing Plesk extensions, please contact our development team directly by sending an email to [email protected]
.