I was wondering if there is anyway to add the custom css manually, like the design section in dashboard but add that css to some specific css file so that i can make a small script to auto copy-paste / edit some file during installation. I tried to add the css files found on baseTemplate css file, but there were too many files and i got confused, can i add custom css to any of the css file?
I think the custom CSS is stored in the cyberpanel database but I can’t verify it at the moment. If it is, you can just populate that table after installing cyberpanel
Confirmed at pc.
The custom css is saved at the following table:
So you can add your custom CSS there after installation, by simply running a query.
mysql -u root -p$(cat /etc/cyberpanel/mysqlPassword) -e "YOUR QUERY"
Or save your query/queries in a file and:
mysql -u root -p$(cat /etc/cyberpanel/mysqlPassword) < /path/to/file.sql