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 10 posts 120 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 4847 posts 14391 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 10 posts 120 karma points
    Jul 22, 2019 @ 11:26
    Justin RW
    0

    That works. Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft