Adding Custom CSS to Chat Window
This section contains essential information and usage guidelines for applying advanced custom CSS to the AI Agent chat window inside BotPenguin.
What is Custom CSS?
Custom CSS allows you to apply advanced visual customizations to the chat window interface of your AI Agent. It enables precise control over layout, colors, spacing, and other UI elements beyond standard theme settings, helping align the chat experience with your website’s design system.
Benefits of Custom CSS
🎨 Enables advanced styling beyond default theme controls
🧩 Helps align chat UI with existing website branding
🔧 Offers granular control over chat window components
🚀 Supports enterprise-level UI customization needs
💡 Ideal for teams with frontend or design expertise
How to Use Custom CSS
Accessing Custom CSS Settings
Log in to your BotPenguin account and select the desired AI Agent.
Navigate to “Agent Settings”.

Open the “Advance” card.
Scroll down to locate “Custom CSS for Advanced Designs”.

Identifying Chat Window Selectors
Install the AI Agent chatbot on a test website (for example, using W3Schools).
Right-click on the chat window and select “Inspect”.
Use the element selector to identify:
Relevant class selectors (
.)Relevant ID selectors (
#)
These selectors represent the chat window components you want to customize.
Writing Custom CSS for the Chat Window
Copy the required class or ID from the Inspect panel.
Paste it into Custom CSS for Advanced Designs.
Add your desired CSS properties inside curly braces
{ }.
Example:
Click “Save Changes” to apply the customization.

Verifying the Changes
Refresh the website where the chatbot is installed.
Confirm that the chat window reflects the applied styling changes.
🎉 Congratulations, you have successfully completed this section! You're one step closer to mastering BotPenguin.
Custom CSS FAQs
If you still have questions for our team, write to us at [email protected]. We’ll get back to you within 48 hours.
Last updated
Was this helpful?