Copied to clipboard

Flag this post as spam?

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


  • Dirk De Grave 4534 posts 5981 karma points MVP 3x admin c-trib
    Mar 22, 2017 @ 13:49
    Dirk De Grave
    1

    Location of css files solely in use for backoffice rte styling

    Hi,

    Anyone has answers to simple question:

    Can we put our specific css file in any other location then the root /css folder.

    Specific css file is used for rte purposes only, but couldn't get the styles dropdown populated with any styles if css file was not in root /css folder of the website.

    Yes, I'm ware we could use package.manifest css declarations to use custom css files/styles from the backoffice, but this is specific for use in rte.

    --Dirk

  • Dave Woestenborghs 3242 posts 10999 karma points MVP 5x admin c-trib
    Mar 22, 2017 @ 14:06
    Dave Woestenborghs
    0

    Hi Dirk,

    As far as I am aware this is the only location that works. Out of curiosity why would you want another location ?

    Dave

  • Dirk De Grave 4534 posts 5981 karma points MVP 3x admin c-trib
    Mar 22, 2017 @ 14:10
    Dirk De Grave
    0

    Adding backoffice only css stuff shouldn't go there, it should either go in App_Plugins or any other location that is not front end oriented, it's just from a structural point of view where it doesn't make sense to us

  • Tim Geyssens 6524 posts 15306 karma points MVP 2x c-trib
    Mar 22, 2017 @ 14:08
    Tim Geyssens
    101

    Yeah the prop editor config passes an array of css filenames not the full path so only /css is supported atm

  • Dirk De Grave 4534 posts 5981 karma points MVP 3x admin c-trib
    Mar 22, 2017 @ 14:11
    Dirk De Grave
    0

    Meh, but we'll have to live with it, thanks for the info

  • Liam Laverty 6 posts 98 karma points c-trib
    Aug 06, 2020 @ 13:59
    Liam Laverty
    0

    This is possible in Umbraco 8 by adding the following to your main web.config file

    <appSettings>
        <add key="umbracoCssPath" value="~/path/to/your/styles" />
    </appSettings>
    
Please Sign in or register to post replies

Write your reply to:

Draft