How can i change the alert message styles on the Service Portal?

shawn_h
Tera Guru

Hi folks,

Does anybody know how/if the messages displayed in the Service Portal, i.e. the confirmation pop up boxes can be altered or overwritten?

I'd ideally like to change colour/font. If not possible to overwrite at the SP level, can something be done globally?

Here's an example of one of the messages that appears at the top of a page when not completing a mandatory field on a record producer/cat item that I'd like to change.

find_real_file.png

 

 

1 ACCEPTED SOLUTION

Alok Kumar2
Tera Expert

Hi,

You can do that on the page level by overriding the alert class.

Add the below CSS in your page specific CSS in your page:

.alert-danger {
    color: orange;
    background-color: rgb(253, 247, 247);
    border-color: rgb(217, 83, 79);
}

find_real_file.png

The alert message is now changed ti orange color.

find_real_file.png

 

Note: Please mark it correct or helpful if it works!!

View solution in original post

5 REPLIES 5

Perfect! Just what I needed, Thanks! 

Do you happen to know if there's anyway to apply this at a portal level also?