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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by shahrzadk 1 year, 7 months ago.

Assisted by: Mihai Apetrei.

Author Posts
September 19, 2023 at 1:38 pm #14420051

shahrzadk

Tell us what you are trying to do?
I want to change font for Persian version of the site. How can I do that? I am using AVADA theme.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site?
forplusincome.com

September 19, 2023 at 2:02 pm #14420255

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

You will need some CSS code to do that.

Example:

html[lang="fa-IR"] {
 
font-family: Alef !important;
font-size: 24px !Important;
 
}

The code needs to be added in the Appearance > Customizer > Custom CSS area.

Depending on the font that you will use, you will have to change "Alef" to the font's family name.

Kind regards,
Mihai Apetrei

September 19, 2023 at 5:40 pm #14423009

shahrzadk

Thank you for your reply. the code has been inserted and the font has been installed yet there is no change on the website.

35a4f8b6-91fd-4381-a6b1-62f324d19cdd.JPG
e6d1faef-d095-481f-9f99-f7968d6fd762.JPG
September 21, 2023 at 12:47 pm #14439159

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.

My recommendation is to hire a WPML contractor (https://wpml.org/contractors) or a developer.

Mihai

September 22, 2023 at 2:35 pm #14447527

shahrzadk

Dear Mihai,

I want to express my appreciation for your time and response. While I encountered an issue with the Avada theme's support, I found that the problem had a different cause than initially suggested.

I was somewhat disappointed with the assistance received, as it appeared to be a generic response that didn't address my specific issue. In my case, a simple solution was possible without any coding or custom work, but I was directed to a contractor recommendation and another discussion link with a similar response.

I understand that you may be dealing with a heavy workload, but I had hoped for a more personalised and effective support experience from WPML.

Thank you for your attention.