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

  • Community Member Profile Picture
    on at
    RE: Any way to make custom css load first on a form?

    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.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: Any way to make custom css load first on a form?

    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.

  • Seamus Profile Picture
    1,577 on at
    RE: Any way to make custom css load first on a form?

    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.

  • David Jennaway Profile Picture
    14,065 on at
    RE: Any way to make custom css load first on a form?

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans