Author Topic: How to Customise CSS in Web Panel  (Read 10266 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to Customise CSS in Web Panel
« on: April 20, 2017, 04:37:31 PM »
I have found the file custom.css in /usr/local/cwpsrv/htdocs/admin/design/css/ and when I use vi to edit the file, right at the top, I am invited to:

Quote
/* ------------------Put your custom code here--------------------*/

Except I can't save the file as it is read only.

All I want to do is reduce the size of the orange font in the 'Spark Stats' area.

Are we really not allowed to change the look of CWP or is this an oversight by the development team ?

Is there a 'fix' or 'workaround' ?

Offline
*
Re: How to Customise CSS in Web Panel
« Reply #1 on: April 21, 2017, 05:19:25 AM »
you can modify it but every update will replace it and updates are almost every day.
Soon there will be a new version where templates will be available.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: How to Customise CSS in Web Panel
« Reply #2 on: September 21, 2019, 09:32:12 PM »
you can modify it but every update will replace it and updates are almost every day.
Soon there will be a new version where templates will be available.

Any updates on this?
custom.css should be easily excluded from update.

Additional question: Is there any way to customize the sidebar - except css?
I don't need some buttons like "Billing" so it would be nicer to have a smaller sidebar..
« Last Edit: September 21, 2019, 09:46:28 PM by yunits »

Offline
*
Re: How to Customise CSS in Web Panel
« Reply #3 on: June 17, 2020, 09:52:16 PM »
Love to know if we've gotten anywhere with this.  Switching between servers and seeing the same control panel "theme" is just a recipe for mistakes late in the day.  Would be nice if there was a permanent "include custom.css" that survives upgrades.