- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 12:44 AM
Hi Team,
I'm trying to figure out where does the default color for gs.addinfoMessage(), gs.addErrorMessage() comes from? Themes?
Any idea?
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:12 PM
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.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 09:12 PM
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.
Johnny
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2025 11:10 PM
There are additional message types that you can use:
g_form.addWarningMessage = yellow
g_form.addErrorMessage = red
g_form.addInfoMessage = blue/green