Copied to clipboard

Flag this post as spam?

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

  • Justin RW 13 posts 123 karma points
    Jul 22, 2019 @ 10:43
    Justin RW

    Changing 'css' directory in Umbraco Cloud

    Normally we change the css directory within Umbraco to 'dist/css' by changing the umbracoCssDirectory AppSetting in the Web.config as follows:

    <add key="umbracoCssDirectory" value="~/dist/css"/>

    We do this because having a distribution folder for all our css/js and image assets feels organised.

    Changing this setting on Umbraco cloud, however, doesn't seem to work. Adding a stylesheet through the Umbraco backend creates it directly under the /css directory rather than dist/css.

    Is it possible the change the css directory in Umbraco Cloud/v8?

  • Sebastiaan Janssen 4877 posts 14546 karma points MVP admin hq
    Jul 22, 2019 @ 11:19
    Sebastiaan Janssen

    In v8 this would be umbracoCssPath, we should update the documentation :)

  • Justin RW 13 posts 123 karma points
    Jul 22, 2019 @ 11:26
    Justin RW

    That works. Thank you.

Please Sign in or register to post replies

Write your reply to: