Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by wisamM 4 years, 3 months ago.

Assigned support staff: Itamar.

Author Posts
September 26, 2016 at 1:22 pm #1100235

wisamM

How to align the whole website content to Right-to-Left direction whenever I toggle the Language into Arabic. I’m using the WPML plugin.
I have issues with alignment as shown in the screenshots attached, Menus/Text/Widgets/Tiles:

September 27, 2016 at 9:33 am #1102054

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hello, Wisam.

Thank you for contacting the WPML support forum.

It looks like your theme the ProPhoto 6 theme by ProPhoto does not include a rtl.css file.
It is easy to include such a file to correct the RTL issue when you switch to Arabic on your site.

Please, read our detailed documentations page about this issue here.
https://wpml.org/documentation/theme-compatibility/build-rtl-wordpress-themes/

Please, let me know if you have more questions about this issue.

Thanks,
Itamar.

October 3, 2016 at 8:00 am #1106641

wisamM

Thank you, issue resolved by applying this code to the website:

body.rtl {
direction:rtl;
unicode-bidi:embed;
}
body.rtl .pp-column-inner .pp-component {
text-align: initial;
}