Change the font color of the error message? | Experience Community
Skip to main content
Question

Change the font color of the error message?

  • Jan 5, 2024 2:42 AM UTC
  • 2 replies
  • 129 views

Forum|alt.badge.img+2

Hi everyone, 

Can any one help me how to change the font color of the error message when the validation fails? I managed to create a custom error message but don’t know how to change the font color

Thanks!

2 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • Jan 5, 2024 5:12 AM UTC

We can wrap the message in a span tag and add color css style to it as seen below:

 


Forum|alt.badge.img
  • Jan 5, 2024 7:40 PM UTC

Hi

Can someone please help me with changing the error message color?

 

Thanks