RTL Support

Enable right-to-left text direction for languages like Arabic, Hebrew, and Urdu.

1 min read

For languages that read right-to-left (such as Arabic, Hebrew, Urdu, and Persian), you can enable RTL support in your zapbot.

How to Enable RTL#

  1. Head over to the "Theme" tab
  2. Paste the following Custom CSS:
.zapbot-container {
  direction: rtl;
}

.zapbot-avatar-container {
  margin-right: 0;
  margin-left: 0.5rem;
}

.guest-container {
  margin-left: 0;
  margin-right: 50px;
}

What This CSS Does#

  • .zapbot-container: Sets the overall text direction to right-to-left
  • .zapbot-avatar-container: Adjusts the avatar positioning for RTL layout
  • .guest-container: Repositions the guest message container for RTL display

Supported Languages#

This RTL configuration works well for:

  • Arabic
  • Hebrew
  • Persian (Farsi)
  • Urdu
  • Pashto
  • Kurdish (Sorani)
Was this page helpful?