Copied to clipboard

Flag this post as spam?

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


  • Susanne 7 posts 29 karma points
    Mar 04, 2016 @ 05:07
    Susanne
    0

    7.4.1 - umbraco.css not being loaded in backoffice

    Hi,

    I have just finished an upgrade from 7.2.0 to 7.4.1, and Umbraco backoffice is not loading umbraco.css.

    Here is how it looks when I log in:

    enter image description here

    And here is how it looks when I manually insert a reference to umbraco.css in the head:

    enter image description here

    Prior to my fiddling with it myself there were no styles at all in backoffice. I don't see any other console errors, it just appears that it's not being loaded in in the first place.

    How can I fix this?

    Susanne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 04, 2016 @ 06:40
    Jan Skovgaard
    0

    Hi Susanne

    Try bumping the version number in the /config/ClientDependency.config file - Just increment it with 1. Then recycle the application pool and see if that makes any difference.

    If not then try deleting the content in the /App_Data/TEMP/ClientDependency and see if that helps.

    It's most likely a caching issue.

    Hope this helps.

    /Jan

  • Susanne 7 posts 29 karma points
    Mar 06, 2016 @ 22:24
    Susanne
    0

    Hi Jan,

    Thanks for your reply.

    I had taken those steps as well but they didn't seem to make a difference.

    I ended up just inserting the stylesheet via jQuery in /Umbraco/Js/init.js, not the best solution I know, but at least it works:

    $('head').append('<link href="/umbraco/assets/css/umbraco.css" rel="stylesheet" class="lazyload" charset="utf-8">');
    

    Thanks,

    Susanne

  • 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