Jump to content

CSS isn't updating


EncryptionXYZ

Recommended Posts

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!

image.thumb.png.68a8548f3670f351e316f662ac522532.png

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated