Guide
Appearance
This page covers the Appearance tab, where an administrator styles the chat widget's look, position, and default text, with a live preview. It is for administrators fine-tuning the widget to match their site's branding.
Navigate to Addons → SRV AI Chatbot → Appearance. The left-hand Sections list has two entries: Live Editor and Settings.
Live Editor

"Adjust the controls on the left — the preview updates instantly. Drag the chat bubble in the preview to reposition it, or use the offset fields. Click Save to apply on the live site."
| Friendly name | Type | Default |
|---|---|---|
| Position | select — e.g. "Bottom right" | Bottom right |
| Primary color | color picker | — |
| Panel max scale (%) | number (100–150) | 120 |
| Horizontal offset (px) | number | 22 |
| Vertical offset (px) | number | 22 |
| Window title (English) | text, placeholder "Leave empty for default" | empty |
| Window title (Arabic) | text, placeholder "Leave empty for default" | empty |
"Maximum resize percentage for the chat panel (100–150). Default 120." "Distance from the left or right screen edge (matches Position). Default 22." "Distance from the bottom of the screen. Default 22."
As you adjust these controls, the live preview panel on the right updates immediately — including a draggable chat bubble launcher, so you can see the exact result before saving.

| Friendly name | Type | Default |
|---|---|---|
| Input placeholder (English) | text, placeholder "Leave empty for default" | empty |
| Input placeholder (Arabic) | text, placeholder "Leave empty for default" | empty |
Custom CSS (scoped under #srv-aichatbot) |
textarea, placeholder #srv-aichatbot { } |
empty |
Tip
Use Custom CSS for small visual tweaks (font, shadow, border radius) rather than editing WHMCS templates directly — all rules are scoped under #srv-aichatbot, keeping your customization isolated to the widget and safe across module updates.
A Per-assistant appearance note at the bottom reads: "Each assistant can override display name, icon, and welcome on the Assistants form." Before any assistant exists, it shows "No assistants yet. Add one under Assistants."
Settings

"Icons, welcome messages, and integration hooks. Visual layout is edited in Live Editor."
| Friendly name | Type | Default |
|---|---|---|
| Welcome message (English) | text, placeholder "Leave empty to use the default language string" | empty |
| Welcome message (Arabic) | text, placeholder "Leave empty to use the default language string" | empty |
| Send button icon URL | text + file upload | empty |
| Close button icon URL | text + file upload | empty |
| Typing indicator icon URL | text + file upload | empty |
"Global fallback when the active assistant has no per-assistant welcome." Each icon field accepts either a URL (https://example.com/…svg) or an uploaded file — PNG, JPG, GIF, WEBP or SVG, max 512 KB, saved under the module's assets/uploads/icons/ folder. "Optional GIF/SVG shown while the assistant is typing. Leave empty for animated dots."

| Friendly name | Type | Default |
|---|---|---|
| Default launcher icon URL | text + file upload | empty |
| Custom launcher CSS selector | text, placeholder e.g. #wgslivehelpdesk |
empty |
| URL hash auto-open | text | #srv-aichat |
"Fallback when the active assistant has no per-assistant icon." "Optional. Hide the default bubble and open chat from this element (e.g. #srvlivehelpdesk)." "Open the widget when the page URL hash matches (e.g. #srv-aichat)."
Custom launcher CSS selector
If your site already has an existing "Live Help" or "Chat with us" button, set this to that button's CSS selector so clicking it opens the SRV AI Chatbot widget instead of adding a second floating launcher.
URL hash auto-open
With the default #srv-aichat, visiting a link ending in that hash automatically opens the widget — useful for "Chat with us" links in emails or other pages.
Per-assistant appearance
A read-only note repeats: "Each assistant can override display name, icon, and welcome on the Assistants form." See Adding an Assistant for the per-assistant fields, which take priority over these site-wide defaults.
Action
Click Save to apply Appearance changes.
Troubleshooting
| Problem | Fix |
|---|---|
| Widget overlaps other floating page elements | Adjust Horizontal offset (px) / Vertical offset (px) in Live Editor |
| Custom CSS has no visible effect | Confirm the CSS selectors used target the widget's actual classes under #srv-aichatbot; use the live preview to test before saving |
| Clicking an existing "Chat" button on the site does nothing | Set Custom launcher CSS selector to that button's CSS selector |