grpcom Posted February 5, 2019 Share Posted February 5, 2019 Hello, I want to change the blue color of the WHMCS theme, and I want to add the colors of my company. I want to change the color of the spaces I indicate in the image But I am not an expert in technical matters, so I want to ask for your very descriptive explanation to make this change. Thanks for your help! 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 8, 2019 Share Posted February 8, 2019 Go to `custom.css` file of the template and set the classes with the color you like. .navbar-main, ul.top-nav > li.primary-action > a.btn, .btn-primary { background-color: #286090 } Note: `custom.css` file is been reset after update. Its something you should be carefull, before you update. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted February 8, 2019 Share Posted February 8, 2019 Exactly. Before making any change duplicate templates/six directory and rename it as you prefer. Once done set this template as your default and make proceed with changes. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 9, 2019 Share Posted February 9, 2019 11 hours ago, Kian said: Exactly. Before making any change duplicate templates/six directory and rename it as you prefer. Once done set this template as your default and make proceed with changes. but then after a WHMCS update, you have to compare your templates with the updated templates and make the changes to your custom. frankly, if you are just making css changes, I wouldn't bother renaming the template and just remember to take a backup of custom.css before updating. it's absolutely insane that custom.css is overwritten during an automatic update and makes no sense. 0 Quote Link to comment Share on other sites More sharing options...
R-n-R Posted October 24, 2020 Share Posted October 24, 2020 On 2/9/2019 at 5:59 AM, brian! said: but then after a WHMCS update, you have to compare your templates with the updated templates and make the changes to your custom. frankly, if you are just making css changes, I wouldn't bother renaming the template and just remember to take a backup of custom.css before updating. it's absolutely insane that custom.css is overwritten during an automatic update and makes no sense. This has been over 20 months ago. With all the releases especially with 8.0 being released last month, has this changed regarding the custom.css being overwritten? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 25, 2020 Share Posted October 25, 2020 14 hours ago, R-n-R said: This has been over 20 months ago. With all the releases especially with 8.0 being released last month, has this changed regarding the custom.css being overwritten? well I don't use the automatic updater, but i'm not aware they've made any announcements about this, so I assume the situation is unchanged. all they have to do is not ship an near-empty custom.css file by default - just don't include it and the updater shouldn't treat it as a core file that it can overwrite. if WHMCS expects users to have the intelligence to be able to create categories.json, whois.json or language override .php files from scratch, I don't see why they can't be expected to create their own custom.css files too. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.