web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Any way to make custom css load first on a form?

(0) ShareShare
ReportReport
Posted on by

Hello, I have some custom css (I know it is not supported?) which overlays after the (customised contact) form loads.

Does anybody know any way of removing this short lag between the form loading and the css overlay occurring?

e.g. anyway of ensuring the css takes precedence?

Many thanks,

- Seamus

*This post is locked for comments

I have the same question (0)
  • David Jennaway Profile Picture
    14,065 on at

    I don't think there is a viable way to do this. If you have CRM OnPremise, you might be able to create an httphandler to add a link to the css in the html header. This would get it loaded before CRM starts loading web resources, but it would also be unsupported, and risks breaking things on any CRM upgrade

  • Seamus Profile Picture
    1,577 on at

    Thanks David  - yes it is onPremise CRM2013. On a custom contact from where would I acess the html header? I'm already loading the css through a javascript onLoad function but there is a noticeable delay in the overlay.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Seamus,

    Not sure if this helps, but take a look at the following posts:

    snataw.wordpress.com/.../prettify-entity-form-crm-online

    anterocrm.com/microsoft-dynamics-crm-cascading-style-sheets-part2

    Hope one of these solutions works for you.

    Remember that these are unsupported customizations as they use the dom.

  • Community Member Profile Picture
    on at

    Thanks Aric for providing these links - these are what I am already using but when I implement them there is a delay between the base form loading and the new css overlaying.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans