This thread is resolved. Here is a description of the problem and solution.
Problem:
In the Arabic version of articles on a bilingual website using the 'Rowling' theme, the author name and date do not align to the right as expected for RTL languages, causing layout issues.
Solution:
We recommend checking if the theme supports RTL layouts as WPML relies on the theme for such features. If the theme supports RTL, you can add custom CSS to correct the alignment. Insert the following CSS in the custom CSS section of your theme:
:lang(ar) .post-meta {<br /> float: right !important;<br /> margin-right: 0 !important;<br /> margin-left: 2.5% !important;<br />}<br /><br />:lang(ar) .single-post .post-inner {<br /> padding-right: 0 !important;<br />}
This CSS should help align the author name and date correctly for the Arabic version of your articles.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
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.