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 :
Service | Customer Service, Contact Center, Fie...
Answered

Modify the color of the warning message.

(0) ShareShare
ReportReport
Posted on by 50

I need to change the color of the background, the font size and the font weight from the warning message

pastedimage1666084384330v1.png

I tried achieve this via javascript, to get the warning html id and set the color. Via console I can do it because the whole page has already loaded and rendered.

However, if I create a webresource and ask it to load with the onload function in the form. It won't change because the whole page was not fully loaded yet.

It would be good if there is a way of achieving it with a css web resource as well.

Is there anyway we can change it? 

The user has visual impairment and this is a need.

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    I would recommend not to try tweaking the OOB functionality but using PCF where you have full power over the styling of the control - pcf.gallery/.../

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 > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 45 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 27 Most Valuable Professional

#3
Soundari Profile Picture

Soundari 15

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans