Change style of widget

Gab
Tera Expert

I have this issue with style after upgrading from Washington to Xanadu

Gab_0-1728524790654.png

 

The background color becomes dark

Where and how do I fix this?

 

Thank you!

 

6 REPLIES 6

Bhavya11
Kilo Patron

Hi @Gab ,

 

Press Ctrl+click on the form. Go to instance in Page editor

 

Bhavya11_0-1728536983231.png

Paste below code to CSS section and save it

div#required_information_bottom {
color: blue;
}

.sc-field-error-label {
background-color: red !important; /* Replace red with desired color code */
color: black !important; /* Replace black with desired color code */
}

 

 

Please mark helpful & correct answer if it's really worthy for you.

 

Thanks,

BK

PrashantLearnIT
Giga Sage

HI @Gab 

 

Have you applied the dark theme on your instance, please let us know.

 

********************************************************************************************************
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.

********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect


Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************

Hi @PrashantLearnIT 

 

Would you know where to check if the dark theme is applied or not?

hi @Gab ,

 

if you are using ESC portal then goto themes open EC theme then search  $sc-field-error-color 

 

Please mark helpful & correct answer if it's really worthy for you.