GUIDE
How to customize the Zendesk Web Widget
How the Zendesk messaging Web Widget’s look is set, read on 26 November 2026, from Admin Center’s Style settings to the colour API, stylingPreset and CSS.
Published
The Zendesk Web Widget’s look is set in two places, and your site’s CSS isn’t one of them. Admin Center’s Style settings give you the position, the corner, three colours, a logo, a title and the launcher’s shape. A JavaScript call, zE('messenger:set', 'customization', …), adds 25 colour properties, a minimalistic preset and switches for avatars, bubbles and headers. Zendesk’s own cookbook says the widget “renders inside an iframe added to the page, so site CSS can help with positioning, but can’t style the widget UI itself”, and CSS written for the Classic widget doesn’t carry over. We read each of Zendesk’s pages quoted here on 26 November 2026.
Deacon is an AI customer support agent for founders, and its chat is one your CSS can style, every part of it, on every plan. The free plan needs no card.
Admin Center’s Style settings
Zendesk’s article on the Web Widget’s name and appearance covers the messaging Web Widget on every Suite plan, Team to Enterprise Plus. In Admin Center, go to Channels › Messaging and social › Messaging, click your channel and open Style. The window, which Zendesk calls the frame, takes these settings.
- Position. Bottom left or bottom right, with offsets from the bottom and side. The default is 16 pixels.
- Border. The corner radius, on a slider from 0 pixels to 20.
- Primary colour. The launcher button and the widget’s header.
- Message colour. The bubble around your customer’s messages.
- Action colour. Buttons and anything the customer picks, such as an option.
- Logo, title and description. A JPG or PNG at the top of the frame, a title there too, such as your business name or “Contact us”, and an optional line under the title.
- Show Zendesk logo. A switch for Zendesk’s logo, on Suite Enterprise accounts.
The launcher has settings of its own on the same tab.
- Shape. Square, with a slider for how rounded its corners are, Circle, or Custom launcher, which takes Zendesk’s launcher off the page so you can open the widget from your own button with the Web Widget API.
- Text. An optional label beside the button.
Embedded mode puts the widget inside any element on your page instead of in the corner, and it takes the size of that element. It needs a JavaScript API call.
The colour API
The colour API sets the widget’s colours from your own page. Zendesk’s guide to Web Widget colours says it “temporarily overrides your Admin Center color settings on pages where the JavaScript runs”, so a page without the code shows Admin Center’s colours. Call it once the widget has loaded, after Zendesk’s snippet.
zE('messenger:set', 'customization', {
theme: {
primary: '#1f3d2b',
onPrimary: '#ffffff',
message: '#e7f0ea',
onMessage: '#1f3d2b',
action: '#1f3d2b',
onAction: '#ffffff',
background: '#fbfaf7',
onBackground: '#1c1b19',
},
});
theme takes 25 properties, each a colour and, for most, an on colour for the words and icons on it.
| Property | What it colours |
|---|---|
primary and onPrimary | The launcher, the top bar and other key parts of the widget |
message and onMessage | Your customer’s message bubbles |
action and onAction | Action buttons, such as starting a new conversation, forms and carousel buttons |
businessMessage and onBusinessMessage | The bubbles of your agents’ and bots’ messages |
background and onBackground | The window behind the conversation |
conversationListBackground and onConversationListBackground | The list of conversations |
card, input and elevated, each with its on colour | Cards and forms, form fields and dropdowns, and menus and dialogs |
success, error and notify, each with its on colour | Confirmations, failed messages and notices |
onSecondaryAction | Secondary buttons such as Cancel or Back |
primary and onPrimary
- What it colours
- The launcher, the top bar and other key parts of the widget
message and onMessage
- What it colours
- Your customer’s message bubbles
action and onAction
- What it colours
- Action buttons, such as starting a new conversation, forms and carousel buttons
businessMessage and onBusinessMessage
- What it colours
- The bubbles of your agents’ and bots’ messages
background and onBackground
- What it colours
- The window behind the conversation
conversationListBackground and onConversationListBackground
- What it colours
- The list of conversations
card, input and elevated, each with its on colour
- What it colours
- Cards and forms, form fields and dropdowns, and menus and dialogs
success, error and notify, each with its on colour
- What it colours
- Confirmations, failed messages and notices
onSecondaryAction
- What it colours
- Secondary buttons such as Cancel or Back
Zendesk’s guide says three more things about how it behaves.
- If you leave out
onPrimary,onMessageoronAction, Zendesk picks “Black or white for accessibility”. - Property names are case-sensitive, and an unknown property or a bad colour writes an error to the browser console and changes nothing.
- Zendesk’s guide says you “cannot use Admin Center’s preview” to test these colours, so try them on a staging site or a test page.
The same API is how you make the widget dark. Zendesk’s appearance article lists no dark theme under Style, so set background, businessMessage, input and their on colours to dark values yourself.
stylingPreset and the other switches
Beside theme, messenger:set with customization takes settings that change the layout rather than the colours. common.stylingPreset takes default or minimalistic, and Zendesk describes minimalistic as “a compact, chat-style baseline”. It hides the avatar, timestamp, preview and divider in the conversation list, and shows your team’s and your AI agent’s messages with no bubble while the customer’s keep theirs.
zE('messenger:set', 'customization', {
common: { stylingPreset: 'minimalistic', contentScale: 95 },
messageLog: { avatar: { shape: 'circle', size: 24 } },
});
Anything you set yourself overrides the preset. These are some of the other switches.
| Setting | What it does |
|---|---|
common.hideHeader | Hides the header in both the conversation list and the conversation |
common.contentScale | Scales the widget’s content, from 50 to 200, where 100 is normal |
conversationList.avatar | Hides avatars, or sets their size (16 to 64 pixels) and shape (square or circle) |
conversationList.hideTimestamp, hideMessagePreview, hideDivider and hideNewConversationButton | Takes each of those off the list |
conversationList.groupByTimestamp | Groups conversations under Today, Yesterday and older headings |
messageLog.avatar | Hides avatars in the conversation, or sets their position, size and shape |
messageLog.businessMessage and messageLog.userMessage | Sets each side’s maximum bubble width, from 10% to 100%, or hides its bubble |
messageLog.citations.sources | Shows an AI answer’s sources as a button, a bulleted list or a numbered list |
common.hideHeader
- What it does
- Hides the header in both the conversation list and the conversation
common.contentScale
- What it does
- Scales the widget’s content, from 50 to 200, where 100 is normal
conversationList.avatar
- What it does
- Hides avatars, or sets their size (16 to 64 pixels) and shape (square or circle)
conversationList.hideTimestamp, hideMessagePreview, hideDivider and hideNewConversationButton
- What it does
- Takes each of those off the list
conversationList.groupByTimestamp
- What it does
- Groups conversations under Today, Yesterday and older headings
messageLog.avatar
- What it does
- Hides avatars in the conversation, or sets their position, size and shape
messageLog.businessMessage and messageLog.userMessage
- What it does
- Sets each side’s maximum bubble width, from 10% to 100%, or hides its bubble
messageLog.citations.sources
- What it does
- Shows an AI answer’s sources as a button, a bulleted list or a numbered list
The AI label has one setting. Since 23 March 2026 the “Generated by AI” disclosure has shown as a label on the AI agent’s name, once for each group of its messages, “applied automatically for all customers”. Set messageLog.aiDisclaimerPosition to footer and the label gives way to one line under the box to type in, “AI can sometimes make mistakes. Review answers and references carefully.”, whose words Zendesk says can’t be changed.
Why your CSS can’t style the Zendesk Web Widget
The messaging Web Widget draws itself inside iframes, which are separate pages your stylesheet can’t reach. Your CSS can move the iframes, and Zendesk’s cookbook shows how to put the launcher on the left that way.
iframe[title*="Zendesk"],
iframe[aria-label*="Zendesk"] {
right: auto !important;
left: 24px !important;
bottom: 24px !important;
}
The cookbook warns that the widget may add more than one iframe, the launcher and the conversation window among them, so narrow the selector if the rule moves more than the launcher. To bring it in front of a cookie banner or a sticky header, set its z-index with zE('messenger:set', 'zIndex', 1000000).
CSS from the Classic widget
The Classic widget took colours from window.zESettings, where webWidget.color set a theme, the launcher and its text, button, header, resultLists and articleLinks, as its settings reference still shows. Some teams added CSS of their own on top, as the person asking below had. None of it reaches the messaging widget. Asked on Zendesk’s community on 28 August 2023, a member wrote in the accepted answer that “your custom CSS from the classic widget will no longer work with the new one”, and added in a later reply that day that the Classic API’s styling options “will not work on the new messaging widget once you switch over to it”.
When you move from Classic to messaging, Admin Center’s primary colour starts from your Classic widget’s settings, Zendesk’s appearance article says. Set the message and action colours under Style, then use the colour API for anything Style doesn’t cover.
Deacon’s chat, styled with your own CSS
Deacon’s chat also keeps your page’s CSS out, so your site’s rules can’t break it. It adds a CSS box in Appearance, whose rules Deacon carries into the chat for you. You can start from any of three places.
- Your own rules. Target any of the 66 named parts, such as
.window,.from-visitorand.ask-box, along with 2 states and 38 variables. Every name is in the styling guide, and Deacon keeps them as the widget changes. - One of 27 looks. Try any of them on your own site, and the one you keep puts its CSS in the box, ready to edit.
- A look from your coding agent. One line in Claude Code, Cursor or Codex has it read your site’s code and write a look in Deacon’s names, which waits in Appearance for you.

Deacon reads your CSS before anything shows it. It refuses a line that would load a file from another server, names that line by its number, and lets Publish put your other changes live while the CSS waits in the draft. Your visitors see nothing new until you press Publish, and the free plan has every part of this.
Which one fits
If your team works tickets in Zendesk every day, keep the Web Widget and use the colour API for the rest of your palette. If you’re a founder answering support yourself, Deacon answers your customers from your docs, shows you only the questions that need you, and lets you style its chat as far as your CSS goes. Deacon has no ticketing or helpdesk, so it isn’t a swap for Zendesk Support. Zendesk alternatives compares tools that are.
Questions about the Zendesk Web Widget
How do I change the Zendesk Web Widget’s colour?
In Admin Center, go to Channels › Messaging and social › Messaging, open your channel and set the primary, message and action colours under Style. For more colours, call zE('messenger:set', 'customization', { theme: { … } }) on your page with any of its 25 colour properties.
Can I use custom CSS on the Zendesk Web Widget?
Only to move it. The messaging Web Widget renders inside iframes, so your CSS can reposition the launcher but can’t style anything inside. CSS written for the Classic widget doesn’t work on the messaging one.
What does stylingPreset minimalistic do?
It hides avatars, timestamps, previews and dividers in the conversation list, and drops the bubble from your team’s and your AI agent’s messages while your customer’s keep theirs. Set it with common: { stylingPreset: 'minimalistic' } in the customization call.
How do I move the Zendesk Web Widget launcher?
Choose bottom left or bottom right under Style, with offsets from the bottom and side. To put it anywhere else, choose Custom launcher and open the widget from your own button, or move its iframe with CSS as Zendesk’s cookbook shows.
Can I take the Zendesk logo off the Web Widget?
Zendesk’s Show Zendesk logo switch is for Suite Enterprise accounts.
Can Deacon’s chat follow my site’s dark mode?
Not your site’s own switch. Four of the ready-made looks are dark, and a look you write can follow the visitor’s device setting with @media (prefers-color-scheme: dark).
Try it on your own documentation
Add your help pages, ask it the question you know your docs cannot answer, and watch it say so.
The free plan covers 50 answers a month on one seat, and the paid plans are on the pricing page.
Free plan, no card.
READ NEXT
Intercom Messenger customization, plan by plan
What each Intercom plan lets you change on the Messenger, from brand colours and the launcher to fonts and CSS, read on 26 November 2026.
Zendesk pricing plans per agent, and the AI on top
Zendesk pricing per agent on every plan, yearly or monthly, what the AI, Copilot and add-ons add, and what one to three agents pay, read on 25 September 2026.
Zendesk competitors compared on seats and AI prices
Freshdesk, Help Scout, Intercom, HubSpot and four more Zendesk competitors, with seat prices, AI meters and free plans read on 24 November 2026.