Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I added to my web.config:
<add key="umbracoCssPath" value="~/content/dist/css" />
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
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.
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?
Just use any other folder to real CSS files and remove them from Umbraco Backend, also do backup before you do it.
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...
Write your reply to:
Image will be uploaded when post is submitted