Where can I find the default color of Infomessage

JohnnySnow
Kilo Sage

Hi Team,

 

I'm trying to figure out where does the default color for gs.addinfoMessage(), gs.addErrorMessage() comes from? Themes?

Any idea?

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.
1 ACCEPTED SOLUTION

JohnnySnow
Kilo Sage

Hello, few things..

 

1. I just saw that Yashsvi was mentioning g_form.addInfoMessage, whereas I was wondering about changing color of gs.addinfoMessage() (server side)

2. I was able to change the color of the message from Branding editor or through Portals>YourportalName>CSS section.

If you are doing through Branding editor it is the "Success" property color that you need to update. Also that property might be used in few other places, which you might need to check and do the change. In our case we were fine to go ahead and change that color.

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

6 REPLIES 6

JohnnySnow
Kilo Sage

Hello, few things..

 

1. I just saw that Yashsvi was mentioning g_form.addInfoMessage, whereas I was wondering about changing color of gs.addinfoMessage() (server side)

2. I was able to change the color of the message from Branding editor or through Portals>YourportalName>CSS section.

If you are doing through Branding editor it is the "Success" property color that you need to update. Also that property might be used in few other places, which you might need to check and do the change. In our case we were fine to go ahead and change that color.

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.

EdenOrZedaka
Tera Contributor

There are additional message types that you can use:

g_form.addWarningMessage = yellow

g_form.addErrorMessage = red

g_form.addInfoMessage = blue/green