From docs -
By adding this to appSettings you can specify a new/different folder for storing your CSS-files and still be able to edit them within Umbraco.
It means that CSS files created in the Umbraco back-office will be created in that folder in the file system.
umbracoCssPath setting not working
I added to my web.config:
It's supposed to change the default css path for Umbraco CMS to the one given in the value, according to the documentation: https://our.umbraco.com/documentation/reference/config/webconfig/
But in backoffice Settings I can still see files that are within default
/css
folder.I have cleaned cookies, rebuilt, re-logged to no effect.
I have version 7.15.3
Hi
From docs - By adding this to appSettings you can specify a new/different folder for storing your CSS-files and still be able to edit them within Umbraco.
It means that CSS files created in the Umbraco back-office will be created in that folder in the file system.
Thanks,
Alex
when you change the folder, Umbraco doesn't remove files from the old folder
Ok, got it.
However I don't need Umbraco to remove files from the old folder, but I don't want them to show up for editing within the CMS.
Shall I remove them then in the CMS? But this will remove them in the file system I guess?
Hi Nick,
Just use any other folder to real CSS files and remove them from Umbraco Backend, also do backup before you do it.
Thanks,
Alex
Why do you want to prevent the CMS from editing CSS files? You can hide the settings section from some users to prevent security issues.
Because the css is bundled and built of sass, not really for editing outside of IDE.
Ah, it makes total sense to move to another folder. then just move it to another folder and that's it.
is working on a reply...