How to Easily Add Custom CSS to Chat Widget

Sometimes you may find yourself needing to change the look and feel of your chat widget to match your website or web-app. For such needs, we have a Custom CSS option available for you.

Changing look-and-feel using Custom CSS

Steps to add your Custom CSS

  1. Login to Admin Portal

  2. Go to Settings > Chat widget > Custom CSS

  3. Add your Custom CSS and save.

  4. You are done.

Examples of Custom CSS change

1. Changing Bot's Text

To change bot or agent's text, modify classes ".agent .iticks-message-text"

For example - To change the bot's text color to blue and capitalize all words, we can use this custom CSS.

.agent .iticks-message-text {
    color: blue;
    text-transform: uppercase;

}

From

To

2. Changing Submit button of Form Node

To change the submit button of the Form node, modify class ".it-button"

For example - To change the background and text color of Submit button, we can use this custom CSS.

.it-button {
    background: burlywood;
    border: burlywood;
    color: black;
}

From

to

3. Changing Quick Reply node's buttons

To change the buttons of the QuickReply node, modify class ".qrnode"

For example - To change the background and text color of the QuickReply node's button, we can use this custom CSS.

.qrnode {
   background: chartreuse;
   border: 1px solid black;
   color: black;
}

From

to

Last updated