This topic has 9 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Rose Tyler
Dear Support,
I am using the standard XStore fonts, however for a specific language translation (arabic) it results too small.
I would like to use a Google font (Cairo) just for the arabic translation without affecting the other languages. Could you please tell me how could i implement it?
Thanks,
F.
Hello, Fabio,
Thank you for contacting us and for using XStore.
Please provide URL of your site arabic version.
Kind Regards,
8theme team
Hi Rose,
This is the URL.
Thanks for the help.
F.
Hello, Fabio,
Thank you for your response.
Please try to use the next custom CSS code:
body.rtl, .rtl h1, .rtl h2, .rtl h3, .rtl h4, .rtl h5, .rtl h6, .rtl .products-title {
font-family: Cairo, sans-serif !important;
}
Kind Regards,
8theme team
Hi Rose,
Thanks for the code suggestion!
I am going to test it. Could you please also tell me the correct way to permanently add the Cairo font to the theme (in a way that the next theme update will not erase it)?
Thanks,
F.
Hi Rose,
I uploaded the font through the custom font upload option in the theme settings and I can see the tff font uploaded in the server.
However, when I run the CSS the Cairo font is not loaded. It looks like the css cannot trigger the Cairo font.
Could you please have a look?
Thanks,
F.
Hi Rose,
Please provide temporary wp-admin access, so we can take a closer look.
Kind Regards,
8theme team
Hi Rose,
This is the access.
Please be careful as I am planning to deploy this version live.
Best regards,
F.
Hi Rose,
Thank you for your response.
1/ You should write it as it was named here → https://prnt.sc/0WQNjlTNq300
2/ Font name is “Cairo-Regular“ → https://prnt.sc/PjFzPvsRy8up
3/ Now we fixed it and the font is successfully applied on the RTL version → https://prnt.sc/-uXOpk3qDTnk
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up