This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to change the main font family to 'TAJAWAL' for Arabic text only on your website, but the default theme font is being applied instead.
Solution:
To apply the 'TAJAWAL' font to Arabic text only, you can use custom CSS. Here is an example of how you can specify the font for Arabic content:
body:lang(ar) {<br /> font-family: 'TAJAWAL', sans-serif;<br />}
This CSS rule targets the body element only when the content language is Arabic (specified by :lang(ar)) and applies the 'TAJAWAL' font. Ensure you add this CSS to your theme or via a custom CSS plugin.
If this solution does not resolve your issue or seems outdated, we 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.
This topic contains 1 replies, has 0 voices.
Last updated by 1 week ago.
Assisted by: Paola Mendiburu.