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.
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.
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
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.
Johannes
is working on a reply...