# Problem with AI chatbot message-assistant class

**URL:** <https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034>\
**Category:** Customization\
**Tags:** ai-chatbot\
**Created:** [August 25, 2025, 10:38am UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034 "2025-08-25T10:38:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giorgio\_Fiorini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/giorgio_fiorini/32/56719_2.png) [@Giorgio\_Fiorini](https://community.elfsight.com/u/Giorgio_Fiorini)\
**Post date:** [August 25, 2025, 10:38am UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034/1 "2025-08-25T10:38:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Giorgio\_Fiorini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/giorgio_fiorini/32/56719_2.png) [@Giorgio\_Fiorini](https://community.elfsight.com/u/Giorgio_Fiorini)\
**Post date:** [August 25, 2025, 11:20am UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034/2 "2025-08-25T11:20:01Z")

</div>

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;  
}

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [August 25, 2025, 11:32am UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034/4 "2025-08-25T11:32:05Z")

</div>

Hi there, @Giorgio_Fiorini 👋

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 😉

---

<div class="post-metadata">

**Author:** ![Giorgio\_Fiorini](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/giorgio_fiorini/32/56719_2.png) [@Giorgio\_Fiorini](https://community.elfsight.com/u/Giorgio_Fiorini)\
**Post date:** [August 25, 2025, 11:35am UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034/5 "2025-08-25T11:35:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [August 25, 2025, 12:09pm UTC](https://community.elfsight.com/t/problem-with-ai-chatbot-message-assistant-class/139034/6 "2025-08-25T12:09:14Z")

</div>

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

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