Change Direction to RTL
Version 2.9.8 and Higher
Once you make your WHMCS system language Arabic or any other language that is based on RTL, the template will automatically change the layout.
Version 2.9.7 and Lower
Open WHMCS > Templates > Digit > includes > head.tpl
1. Search for
<link href="{$WEB_ROOT}/templates/{$template}/css/all.min.css?v={$versionHash}" rel="stylesheet">
After it adds this line
<link href="{$WEB_ROOT}/templates/{$template}/css/bootstrap-rtl.min.css?v={$versionHash}" rel="stylesheet">
2. Search for
<link href="{$WEB_ROOT}/templates/{$template}/css/theme-dark.css?v={$versionHash}" rel="stylesheet">
After it adds this line
<link href="{$WEB_ROOT}/templates/{$template}/css/custom-rtl.css?v={$versionHash}" rel="stylesheet">
Open WHMCS > Templates > orderforms > digit > common.tpl
In the last line add this code
<link rel="stylesheet" type="text/css" href="{$WEB_ROOT}/templates/orderforms/digit/css/custom-rtl.css?v={$versionHash}" />