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)

Modify HTML Web Resource to CRM default font

(0) ShareShare
ReportReport
Posted on by 1,328

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

I have the same question (0)
  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    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.

  • epark06 Profile Picture
    1,328 on at

    [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.

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