Jump to content

Can't edit css for client area


windyartisans

Recommended Posts

I've tried editing the whmcs.css file for the default client area template to add a background image to the body. So I did, but when I go to the site the image isn't there. I checked in firebug, and the css that's called doesn't even include the piece of code I added. So I created a new template based off of the default one, still nothing.

How can i edit the css?

Link to comment
Share on other sites

That one file should stay. Cached files should look like long strings with tpl extensions.

 

Anyway, back to the CSS. For one, the image isn't in "images" it's in "img", an easy mistake to make.

Try this:

background-image:url('../img/background-wood.jpg') !important;

 

You had:

background-image:url (../../images/background-wood.jpg) !important;

 

The link is relative to the style sheet. Since that's located in /templates/windy/css, you need to climb up one and into "img".

By the way, please do yourself a favor and read this page: http://docs.whmcs.com/Further_Security_Steps

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