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 17 posts 137 karma points
    Jul 22, 2019 @ 10:43
    Justin RW
    0

    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 5061 posts 15544 karma points MVP admin hq
    Jul 22, 2019 @ 11:19
    Sebastiaan Janssen
    100

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

  • Justin RW 17 posts 137 karma points
    Jul 22, 2019 @ 11:26
    Justin RW
    0

    That works. Thank you.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies