The CreatorCon Call for Content is officially open! Get started here.

Controlling and formatting Info Messages in service portal

Pankaj Poul1
Giga Contributor

We need to understand what options we have for controlling 'info Message' in the service portal. Can we control any of the following:
1) How long it is displayed before automatically disappearing
2) Automatically disappearing
3) Maximum number to display at one time
4) Color / formatting

3 REPLIES 3

Sebastian L
Mega Sage

You can control the durations the info and error messages persists in the portal by changing this property: 

glide.service-portal.notification_timeout.seconds 

If 0 it disables auto-dismissal. 

 

About the color / formatting, it can be targeted with CSS in the portal theme. To my knowledge I don't think you can have a maximum number to display at one time. 


Best regards,
Sebastian Laursen

Thanks Sebastian.

Just to check, do you have an example of "CSS in the portal theme" to change the Color and Formatting for the info messages?

Regards!!

Pankaj

Depending on the usage, so e.g. on Success you could change it like this (just examples): 

.alert-success {

colorblack;

background-colorgreen; //You can add !important to make sure that this value is always set.
border-color#000000;

Best regards,
Sebastian Laursen