Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Tim Salter 17 posts 47 karma points
    Apr 01, 2012 @ 21:07
    Tim Salter

    CSS change issue

    I am using CWS 3.0.1 and am having issues changing any css styles. I make the necessary changes to the styles.css file and other files, but no changes are being rendered. Is there something else that needs to be done or another area that must be changes?

    I read the CWS How to Use guide and it mentions using sIFR, but my site does not have the js files that are listed in the guide.

    Any help is greatly appreciated.

    Thank you,

    Tim Salter

  • Johannes Zijlstra 1 post 21 karma points
    Jul 26, 2012 @ 12:02
    Johannes Zijlstra

    Even though this topic is 4 months old already, I figured I't try giving an answer anyway.

    I think it might have to do with the ClientDependency. This will cache the CSS and JS files on the filesystem. There's a couple things you can do:
    - If you're developing, you should add debug="true" to the <compilation> node in the web.config. Not sure if there's other Umbraco settings you need to change for this.
    - In the ClientDependency.config you can increase the version. This'll make sure the new css files will be downloaded
    - On your filesystem there should be a TEMP directory with the folder ClientDependency in it. Deleting either that folder (folder should be autogenerated on the next load) or it's contents (which are xml files) should also do the trick.

    Any one of these things should do the trick, although on live environments I believe increasing the version is the 'preferred' way to go.. Hope this helps anyone.


Please Sign in or register to post replies

Write your reply to: