Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Modify HTML Web Resource to CRM default font

Posted on by 1,320

I'm trying to modify this HTML web resource (https://mahadeomatre.blogspot.com/2015/02/convert-option-set-to-multi-select.html) by adding the below line for default font family/size (in bold) that CRM uses on forms. After publishing I do not see any changes. What am I doing wrong?

</script>
<meta charset="utf-8">

</head>

<body onload="ConvertDropDownToCheckBoxList()" style="word-wrap: break-word;">
       <div id="checkboxList">
                <div style="font-family: Segoe UI,Tahoma,Arial; font-size: 12px;"></div>
       </div>
</body></html>

*This post is locked for comments

  • epark06 Profile Picture
    epark06 1,320 on at
    RE: Modify HTML Web Resource to CRM default font

    [quote user="Goutam Das"]

    Secondly you can try to write your front  in the body tag itself -

    <body style="font-family: Segoe UI,Tahoma,Arial; font-size: 12px;">

    Hope this helps.

    [/quote]

    Goutam, thank you so much! This fixed it for me.

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Modify HTML Web Resource to CRM default font

    Hi ,

    I have tested your html seems its fine , there is no problem . You need to check following thing to troubleshoot.

    - View HTML UI from  CRM.

    - Press F12  in internet explorer , go to DOM explorer

    -  Select Arrow icon the select html

    -  Now select page Label which are not accepting CSS.

    -  Check which CSS its applying in right hand side.

     You can get style which is accepting the label instead of you have mentioned your code , try to check from where its taking , its should be somewhre in your code . Try to find the style which is actually taking in the label and make comment.  

    cssdebug.png

    Secondly you can try to write your front  in the body tag itself -

    <body style="font-family: Segoe UI,Tahoma,Arial; font-size: 12px;">

    Hope this helps.

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