- This topic has 14 replies, 3 voices, and was last updated 2 years, 3 months ago by David.
-
AuthorPosts
-
December 22, 2021 at 4:01 am #2056529Afreen
I discussed to the wpml support as I need to change the font of the Arabic translated version and they said me to get support from the theme management to give you the css code where you can place it on the additional css section.
Can you please support me to change the font of my website arabic version, website link is mentioned on the private information
December 22, 2021 at 5:16 am #2056595DavidStaffCustomer SupportHi there,
did you resolve the issue ? I see an ‘Arabic’ font loading on the link you provided. Let me know.
December 22, 2021 at 7:33 am #2056692AfreenEverything is working perfect, what I need is to change the font.
How do I do it can u send me the css codeDecember 23, 2021 at 1:01 am #2057378AfreenFor 2 days I am looking for the answer as I need to change the font in the Arabic version of my website, Please help me out send me the CSS code to implement on the theme.
December 23, 2021 at 1:05 am #2057382ElvinStaffCustomer SupportHi there,
I’ve checked the link and the site is already in arabic as shown here – https://share.getcloudapp.com/OAu4E9oD – the contents are arabic.
To clarify: Are you trying to change the font-family used on the site if it’s in arabic?
If so, can you tell us what font-family should be used? For CSS writeup.
December 23, 2021 at 1:20 am #2057397AfreenThanks, Elvin, You understand what I need and Yes, I want to change the font family, can be Possible to replace the existing form with this font tye https://fonts.google.com/noto/specimen/Noto+Kufi+Arabic?subset=arabic
December 23, 2021 at 8:09 am #2057778DavidStaffCustomer SupportFirst make sure you’re using the new typography manager.
See here about updating an existing site to that:https://docs.generatepress.com/article/switching-to-dynamic-typography/
You can check in Customizer > Typography. If it is enabled you will see the Font Manager. Then:
1. Under Font Manager > Add Font, and select your Arabic font from the list.
2. Under Typography Manager, Add new Typography, from the Target Element List select > Custom.
2.1 In the Enter custom CSS selector. field add the following:html[lang="ar"] body
2.2 then select your font and set the other styles eg. font size etc.
This should now apply that font when viewing the Arabic language version.
December 23, 2021 at 8:56 am #2057826AfreenReally worked π
One Issue is still the menu in the Arabic version has not changed the font I chose, How to make the same?
December 23, 2021 at 9:01 am #2057829DavidStaffCustomer SupportAwesome π
Add a new Typography and select Custom again, and add this in the custom CSS selector field:html[lang="ar"] .main-navigation a
And select your font and styles.
December 23, 2021 at 9:10 am #2057832AfreenPerfect too good.
On the English version of the menu the “OFFER” I did the square outline but it’s not display the same on the arabic version.
December 23, 2021 at 9:20 am #2057844DavidStaffCustomer SupportUse the method provided here:
https://docs.generatepress.com/article/adding-buttons-navigation/
that way you just need to add the nav-button class to the menu items that require that style.
December 23, 2021 at 1:02 pm #2057993AfreenAs I mentioned David, In the English version the box around the Offer is working but not in arabic version. Please see both version on the private information.
December 24, 2021 at 3:51 am #2058339DavidStaffCustomer SupportIf you follow the steps in that document then it will work on both languages.
December 24, 2021 at 11:50 am #2058748AfreenDavid, Thank you very much π
December 27, 2021 at 1:17 am #2060296DavidStaffCustomer SupportGlad to be of help!
-
AuthorPosts
- You must be logged in to reply to this topic.