Basic widget customization
This section covers basic modifications to the widget's size, position, and default settings to match your website's look and feel.
Change widget position
To change the location of the chatbot button on your page, use this code snippet, By default, this will place it at the top-right corner of the page.
- You can adjust
top
andright
values to change its position to fit your layout.
Resize the chat window
To set a custom ize for the chat window when it opens, use this code snippet. This makes it responsive, ensuring it fits well on any screen.
max-width
andmax-height
prevent the window from being too large on small screens.
To adjust the size, shape, or appearance of the chatbot button, use this code snippet:
border-radius: 50%
makes the button circular. Change it to0%
for a square shape, or a smaller percentage (like10%
) for rounder corners.
Update "Enter Message" text
You can change the placeholder text Enter Message
in the chat input area to something more personalized.
- Replace
Type your message here
with any text you want.
Set time display to your locale
To display timestamps in the chat widget in a specific language or format, use this customization:
- Replace
de
with your preferred locale code. For example:en
for Englishfr
for French
- This adjusts the date and time format based on the language you choose.
Custom container and stacking order
To control the entire widget container's position and stacking order on the page, use this code:
- This controls the main container's position and size.
z-index
keeps the widget above other page content.