Jump to content

custom.css not being included in admin themes


Recommended Posts

Am I missing something super obvious?

I have a custom file located here: /public_html/admin/templates/blend-new/css/custom.css 

and I have cleared my template cache countless times. 

The custom.css is just not getting pulled in / the all.min.css file is just not getting created with the changes. 

all.min.css = 664

css folder = 775

WHMCS version 7.3.0

Thoughts?

_____________________________________

 

Or am I suppose to just add the custom.css

    <link href="templates/{$template}/css/custom.css?v={$versionHash}" rel="stylesheet" />

to the head of the template?

 

Link to comment
Share on other sites

35 minutes ago, Dev@SH said:

Am I missing something super obvious?

yes. :)

only the client area templates are designed to look for a custom.css file - the admin area templates don't look for one by default.

35 minutes ago, Dev@SH said:

Or am I suppose to just add the custom.css to the head of the template?

you can do that - though you'd have to update the template after every WHMCS update... or you could use the hook below and forget about any need to update the template! :idea:

 

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