Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Theme.css file in Portal home page not loaded

Posted on by

Hi guys,

I have been playing with Dynamics 365 for several days. Everything was going great, but somehow the styles from the theme.css file are not applied for the home page of my portal. They are applied for the rest of the pages. I checked the sources tab in my browser and the theme.css has not loaded for the home page. The link to the stylesheet is not present in the home page DOM tree. I was wondering how to add the link to the theme.css  styleheet back to the DOM tree?

*This post is locked for comments

  • Suggested answer
    Samke Profile Picture
    Samke 20 on at
    RE: Theme.css file in Portal home page not loaded

    I am glad it helped

  • DavidBland Profile Picture
    DavidBland 5 on at
    RE: Theme.css file in Portal home page not loaded

    Thanks Samke, your response saved me a lot of time. Certainly worked for me.

  • Anna Moskalenko Profile Picture
    Anna Moskalenko 21 on at
    RE: Theme.css file in Portal home page not loaded

    Samke, thanks for this tip, it really helped me today to fix the issue with UI for not authorized users

  • Suggested answer
    Samke Profile Picture
    Samke 20 on at
    RE: Theme.css file in Portal home page not loaded

    I had a similar issue where styling was loading when I am not signed into the portal, only loads soon after login. To resolve my issue I had to change the Restrict Read access Scope to Exclude direct Child web Files on Web Page Access Control Rule,

    >> Portals> Web Page Access Control Rules > Choose rule you want to update

    Ensure that the scope is not All Content 

     

    0312.Capture.JPG

  • JasonMcneil Profile Picture
    JasonMcneil 215 on at
    RE: Theme.css file in Portal home page not loaded

    So this is normal, and others are experiencing this? Does it only covers about when doing alot of fiddling? Or is this something we'd need to monitor in production constantly?

  • Emo10 Profile Picture
    Emo10 on at
    RE: Theme.css file in Portal home page not loaded

    I have restarted the site several times and it didn't work. But after your suggestion I have decided to give it one more try - and bizarrely now the home page is fine. Thank you:)

  • Verified answer
    Birgit RD Profile Picture
    Birgit RD 2 on at
    RE: Theme.css file in Portal home page not loaded

    This issue pops up from time to time on our portal site. A restart of the portal has always solved the issue so far.

  • Emo10 Profile Picture
    Emo10 on at
    RE: Theme.css file in Portal home page not loaded

    Thank you for your answer. Unfortunately I still can't solve my issue. As far as I can understand the theme.css must be loaded in the DOM, so there should be a way to tell the portal home page to include the theme.css file. I just can't find it.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Theme.css file in Portal home page not loaded

    Hi Emo,

     there was a (I believe) similar thread recently. Does not look like they marked it as answered, so I'm not sure if it's actually been answered, but have a look:

    community.dynamics.com/.../234515

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans