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.

This topic contains 4 replies, has 3 voices.

Last updated by dimitriosV-4 1 year, 11 months ago.

Assisted by: Mihai Apetrei.

Author Posts
July 3, 2023 at 11:11 am #13932151

dimitriosV-4

Hi,
There is a website where we use greek and english language.
hidden link

On greek we use the genesis-bold font. It's a custom font which we added to wordpress with the "Use Any Font" plugin. This font doesn't look good on english.
On the english version of the website, we need to use another font (let's say "Arial").

How can we do that?
Please reply as soon as possible.

Thank you.

July 3, 2023 at 11:44 am #13932427

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

you can use CSS html lang attribute and target each language with specific CSS code, in this case font-family.

Please check the example here:

- https://wpml.org/forums/topic/different-fonts-for-different-languages-in-theme/#post-5749397

Regards,
Drazen

July 3, 2023 at 1:21 pm #13933145
dimitriosV-4

Hi Drazen,

Thank you for the reply. It's working fine.

I would like to ask for another advise as well. How do I show the english version of footer? Because now it keeps showing the greek one.

July 4, 2023 at 5:49 pm #13944341

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

I am happy to hear that the initial issue has been resolved.

From my understanding, the initial issue reported here was resolved. I'm happy to hear that! 🙂

However, it seems that there is still a different issue happening that you are looking to have fixed.

Per our Support Policy, we can handle only one issue per ticket.

Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.

I created a new ticket for you in regard to the new issue here:
https://wpml.org/forums/topic/split-how-do-i-show-the-english-version-of-footer-because-now-it-keeps-showing-the-greek-one/

You will be notified via email when there's an answer to that ticket, too.

Also, can you please mark this current ticket as resolved?

Thank you.

Mihai