Language Font Modification Not Working
-
After reading some of the other topics in this forum, I came up this code which I put in Custom CSS on my site:
@import url(//fonts.googleapis.com/earlyaccess/notosanskhmer.css); @import url('https://fonts.googleapis.com/css2?family=Koulen&display=swap'); .translatepress-km { font-family: notosanskhmer; font-size: 16px; } /*sets font for TranslatePress Khmer body*/ .translatepress-km h1, .translatepress-km h2, .translatepress-km h3, .translatepress-km h4, .translatepress-km h5, .translatepress-km h6 { font-family: Koulen;
My site is in English, but I’m using TranslatePress to translate it to Khmer. Most has not been translated yet, but on the link I shared, the top part of the page has been translated.
OK, Here’s my problem: The fonts in this code are specifically for the Khmer language. But even though this code successfully modifies the font of all the ENGLISH glyphs in my Khmer view, but it doesn’t affect the KHMER glyphs/text. Any idea how I can fix this?
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Language Font Modification Not Working’ is closed to new replies.