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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to get the color on a form section?

(0) ShareShare
ReportReport
Posted on by 75

Hi Community,

Have been trying to find the cosmetic option of getting the blue line at the top of each section, but unable to find it. It does make each section stand-out and much clearer to view.

Have tried the classic and new UCI interfaces, but no luck. Anybody out there who can guide me in the right direction?

Regards,

Dominic.

1462.Pic.png

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at
    RE: How to get the color on a form section?

    Hi Dominic,

    Could you let me know your real requirement ?

    > Do you want to get color hex code for that blue line ?

    The hex code for this color is #3b79b7, you can get its rgb color 

    with element inspector in developer tool or with a extension ColorZilla if your client browser is Chrome.

    I get the color rgb code and covert it to hex code with third party website.

    > Do you want to customize the color to that ?

    You can build your own theme in Settins > Customizations > Themes with supported elements,

    pastedimage1571983326671v1.png

    Regards,

    Clofly

  • Dynamics4Dom Profile Picture
    75 on at
    RE: How to get the color on a form section?

    Hi Clofly,

    Thanks for your reply.

    I do know how to get the hex or rgb code for the color, but where do I configure it in D365 for a form section? I don't see it in the Themes area unless I'm missing something.

    My current form sections appear as below. I need to customize the top of each section with a color similar to the screenshot in my original post.

    7888.Pic.png

    Regards,

    Dominic.

  • cloflyMao Profile Picture
    25,210 on at
    RE: How to get the color on a form section?

    Hi Dominic,

    Could you share me which entity and which form that their sections border top have color in your posted image?

    And in which entity and form that their sections border top have not color?

    It seems that many entity and their form hasn't border top color.

    pastedimage1571984857005v1.png

    If you would like to modify these sections style which may not be supported to style customization,

    you could create a web resource and insert css style rule to change them with unsupported method.

    var cssRules = 'section { border-top: 2px solid orange!important; }';
    
    var styleElement = document.createElement('style');
    
    styleElement.appendChild(document.createTextNode(cssRules));
    
    parent.document.getElementsByTagName('head')[0].appendChild(styleElement);

    Regards,

    Clofly

  • Verified answer
    cloflyMao Profile Picture
    25,210 on at
    RE: How to get the color on a form section?

    Hi Dominic,

    You could make customized style for sections with code above, it works well.

    pastedimage1571993056291v1.png

    Please let me know if it could meet your requirement, thanks. :) 

    Regards,

    Clofly

  • Dynamics4Dom Profile Picture
    75 on at
    RE: How to get the color on a form section?

    Thanks Clofly.

    I was looking at an OOTB way of doing it, but it seems like a custom method is the only way.

    Kind Regards,

    Dominic.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 226

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 81 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 68 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans