 mohamad-najeeba
|
i need to make font family in Arabic than in English version
|
 Mihai Apetrei
WPML Supporter since 03/2018
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+03:00)
|
Hi there.
Before this ticket gets assigned to one of my colleagues, I will try to help.
From my understanding, you will want to use a different font for the Arabic version of the site.
You will need some CSS code to do that.
Example:
html[lang="he-IL"] {
font-family: Alef !important;
font-size: 24px !Important;
}
The code needs to be added in the Appearance > Customizer > Custom CSS area.
Depending on the language that you will use, you will have to change "he-IL" to the proper language lang code. In your case, you will use "ar".
Depending on the font that you will use, you will have to change "Alef" to the font's family name.
Kind regards,
Mihai Apetrei
|
 mohamad-najeeba
|
i did this many times but not happening
I thing something is overriding something another
|
 Mihai Apetrei
WPML Supporter since 03/2018
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+03:00)
|
Hi there and welcome back.
The issue here might be similar to the one in this other recent ticket that I had:
https://wpml.org/forums/topic/how-to-make-different-font-for-two-languages/
There's a chance that the currently active theme or (at least one) of the active plugins is overwriting what you are adding in the custom CSS area.
But the help that we can offer for this kind of issue is limited as it involves custom work and we can only guide people into the correct procedure.
Mihai
|