Set the Width, Height, and Base Font Size
Set a Domain
Set the Language
Set Right-to-Left Language Layout
Code Snippet Versions
Change the default sizes for your chat window in the code snippet to match your websites requirements.
The legacy chat product is in maintenance-only mode, and we won’t continue to build new features. You can continue to use it, but we no longer recommend that you implement new chat channels. Instead, you can modernize your customer communication with Messaging for In-App and Web. Messaging offers many of the chat features that you love plus asynchronous conversations that can be picked back up at any time.
Important
Keep the following in mind when setting your sizes:
embedded_svc.settings.widgetWidth = "..."
To customize the width of the chat window, add this parameter to your code snippet and set the width in pixels (px) or percent (%). If you don’t specify a value, the default size of 320px is used.
embedded_svc.settings.widgetHeight = "..."
To customize the height of the chat window, add this parameter to your code snippet and set the height in pixels (px) or percent (%). If you don’t specify a value, the default size of 498px is used.
embedded_svc.settings.widgetFontSize = "..."
To customize the base font size for the text in the chat window, add this parameter to your code snippet and set the base font size. If you don’t specify a value, the default size of 16px is used.
We recommend selecting a size no smaller than 12px and no larger than 24px.
Tip