EncryptionXYZ Posted December 25, 2018 Share Posted December 25, 2018 Hello guys, this is my first post on this forums so bare with me. Alright so I'm currently revamping our billing site, and whenever I add something to a .tpl file it works fine ( I usually add inline css) but whenever I go to all.css or any css file and try adding custom CSS it doesn't update on the site, any ideas why? Also while I'm at it, in what .tpl file can I find where the blue section is in? I have already checked the header.tpl file, and only the How can we help today part is there, not the What would you like to do today? Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 25, 2018 Share Posted December 25, 2018 6 hours ago, EncryptionXYZ said: Alright so I'm currently revamping our billing site, and whenever I add something to a .tpl file it works fine ( I usually add inline css) but whenever I go to all.css or any css file and try adding custom CSS it doesn't update on the site, any ideas why? two things - one you shouldn't edit any of the core css files - there's no point as they'd just get overwritten during a WHMCS update anyway and all your changes would be lost; secondly, all.css is just for show and clarity, it isn't used by WHMCS - it will use the minimized css files (e.g all.min.css) - you could edit them and the changes would show, but for the above first reason, you shouldn't do it. if you want to make css changes, just edit /templates/six (or your active theme)/css/custom.css and add your changes in there... if correct, they will show immediately (bar any cloudflare caching issues etc!) 6 hours ago, EncryptionXYZ said: Also while I'm at it, in what .tpl file can I find where the blue section is in? I have already checked the header.tpl file, and only the How can we help today part is there, not the What would you like to do today? it's definitely in header.tpl... {else} <h2>{$LANG.doToday}</h2> {/if} you don't have domain registration enabled, so it defaults to using the above language string... what happens next is up to you - you can either edit the template if you want to change the output dramatically or use a Language Overrides if you just want to change that particular string for any given language(s). 0 Quote Link to comment Share on other sites More sharing options...
EncryptionXYZ Posted December 25, 2018 Author Share Posted December 25, 2018 3 hours ago, brian! said: two things - one you shouldn't edit any of the core css files - there's no point as they'd just get overwritten during a WHMCS update anyway and all your changes would be lost; secondly, all.css is just for show and clarity, it isn't used by WHMCS - it will use the minimized css files (e.g all.min.css) - you could edit them and the changes would show, but for the above first reason, you shouldn't do it. if you want to make css changes, just edit /templates/six (or your active theme)/css/custom.css and add your changes in there... if correct, they will show immediately (bar any cloudflare caching issues etc!) it's definitely in header.tpl... {else} <h2>{$LANG.doToday}</h2> {/if} you don't have domain registration enabled, so it defaults to using the above language string... what happens next is up to you - you can either edit the template if you want to change the output dramatically or use a Language Overrides if you just want to change that particular string for any given language(s). Thank you 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.