Hi, Humans. How may we help you?

How to use CSS to customize the style of your WebChat window
3 min
Created by Leonora Alves on 5/26/2025 6:01 PM
Updated by Leonora Alves on 5/28/2025 4:13 PM

 The CSS Editor available in the Web Chat channel appearance settings  allows advanced customization of the chat window interface. It is recommended when standard settings (such as color, avatar, and logo) do not meet the project’s requirements, whether for business needs or visual criteria. 

 ⚠️ Attention: The CSS Editor only affects the chat window and does not impact other elements of the page where the Web Chat is embedded.

 Below, we show you how to visually customize the Web Chat using the CSS Editor, including changes to the header, conversation background, message bubbles, font, and input field. 

Where to modify?

 The editor is located right below the avatar selection field. Click the arrow to expand it. 

💡 Tips

  • Use exactly the CSS class names presented in this documentation and add !important when indicated, otherwise the changes will not take effect.
  • In the examples, we use the yellow color #FFD300 to make it easier to visualize the modified areas.

Header

ChangeCSS CodeResult
Change the background color of the header (the color behind the logo).chat-header {
background: #FFD300 !important;
Remove the header (to hide both the logo and the header space).chat-header {
display: none !important;

Conversation Background

ModificationCSS CodeResult
Change conversation background colorbody {
background-color: #FFD300 !important;
Insert background image in the conversation. A valid image URL is required.body {
background-image: url(link) !important;

Chat bubbles and font

ModificationCSS CodeResult
Change font size

.message-thread .message {
font-size: 20px !important;
}

Change font color

.message-received .message-content {
color: #FFD300 !important;
}

Change user response font color

.message-sent .message-content {
color: #FFD300 !important;
}

Change bubble color

.message-received .message-content {
background-color: #FFD300 !important;
}

Change user response bubble color

.message-sent .message-content {
background-color: #FFD300 !important;
}

User input field and actions

ModificationCSS CodeResult
Remove file upload clip

.chat-footer form .clip.enabled {
display: none !important;
}

Remove input field

.chat-footer {
display: none !important;
}

.message-thread {
margin-bottom: 0px;
}

.message-thread-wrapper {
min-height: calc(100vh - 22px);
}

Did this article solve your doubts?
Recently viewed