Problem with AI chatbot message-assistant class

Hi everybody, it seems that:

.es-message-assistant p {
color: #5B234A;
}

.es-message-assistant li,ul {
color: #5B234A;
}

Don’t work anymore to change che assistant’s font color in the chat window.

Any solution?

2 Likes

Edit: I think I’ve figured it out, devs have changed the classes.

This code now works:

.es-message-group-assistant p {
color: #4d87a5;
}

.es-message-group-user p {
color: #FFFFFF;
}

.es-message-group-assistant li,ul,ol {
color: #4d87a5;
}

.es-message-group-assistant h3 {
color: #4d87a5;
}

2 Likes

Hi there, @Giorgio_Fiorini :waving_hand:

You’re absolutely right! After the recent update, the classes have been changed, but I am happy to see you’ve already adjusted your code.

If anything else comes up, we’ll be more than happy to help :wink:

1 Like

No problem Max, I know devs have to always improve the code, but news about such important change would be appreciated, so we could arrange the code as well (on time).
Thanks as always, anyway.

P.S: Do you confirm that the new classes .es-message-group-assistant and .es-message-group-user are the ones we need to change to adjust the variables?

2 Likes

Good note! We’ll try to keep you in the loop regarding the class changes :slightly_smiling_face:

Regarding your code, you’ve done things right. The classes you’re currently using are correct!

2 Likes