You meant, I have to disable W3 cache for checking? I am also using Cloudflare in conjunction as W3 will break my 'Shop' page layout, so I am using Cloudflare to Minify HTML instead.
What do you suggest I need to do so to get to fixing this font display?
Ok we checked now and as we see this @import does not work because font can`t be imported. We recommend to read this article http://webdesign.about.com/cs/css/qt/tipcssatimport.htm and or you need to move this import into head or wrap into "..." or we have no idea what else could be the problem because so far we don`t see anything else.
Thank you for the link. I read, but it says nothing about font.
If the font cannot be imported, what do you recommend to get the font in?
I would be really grateful if you can help with this as I also bought WPML from your recommendation to make multi-language site, and if my site cannot display the Khmer language properly, it would be a bit useless to the readers.
I also tried contacting the WPML support, but they said styling to display correctly is not within their help
Do you think I got Jetpack and enable Custom CSS, use the @import there and it will move to the head? I am asking cz' I don't know how to put in the head or into "..." as you described.
To be honest we have no idea what else could be wrong, because as we wrote above, we don`t see anything wrong and also there is no issues between theme and this import. Sorry!
"Sorry this is something related to theme, This is not covered under WPML support policy. which is beyond the scope of our support.
Sorry but this is something theme related, displaying content on your site using fonts is not a WPML issue, WPML only connects your site content with two or more languages installed.
Font for content can be chosen only one. So if you selected Hanuman, then this font will be applied for content. It is not possible to setup 2 different fonts for content.
You can change the styles.css according to language code in header.php file
<?php if (ICL_LANGUAGE_CODE == 'en'){ ?>
<link rel='stylesheet' href='PATH TO ENGLISH STYLES.CSS' type='text/css' media='all' />
<?php }elseif(ICL_LANGUAGE_CODE == 'th'){ ?>
<link rel='stylesheet' href='PATH TO THAI STYLES.CSS' type='text/css' media='all' />
<?php } ?>
but the code above will switch the font face only when the language for translation is selected. For my case, my site is displaying both Khmer and English, so how do I set font family, so Khmer use Hanuman and English use Roboto font?
2. Custom JS is added, but you have not changed the title of that section to Custom CSS & JS yet
3. Custom fonts allows us to upload fonts allowing those who want to get their fonts display correctly to anyone in the world though they don't have those fonts installed. It helps a lot with multi-lingual site.
Anyway, for Custom font 1 and 2, rather than upload them and assign to the respective sections from drop down menu, how can we also use it as inline style to specific contents in WP editor or even add it to Custom CSS so we can assign them to other areas like widget, footer etc?
2) We forgot about it. Already changed and will be changed with next update.
3) For that you probably need to use html or css code where you will define font-family. When you have for example on page h3 tag and want to get different font, then you probably need to use something like:
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
Sorry but this is something theme related, displaying content on your site using fonts is not a WPML issue, WPML only connects your site content with two or more languages installed.
All the display features are theme related."
2) We forgot about it. Already changed and will be changed with next update.
3) For that you probably need to use html or css code where you will define font-family. When you have for example on page h3 tag and want to get different font, then you probably need to use something like: