I am using wordpress with elementor pro and wpml, i use English and Arabic language, for Arabic i want to use another font-family handled by Elementor (google font), but when i try to implement it it does not work. I folloewd alla recommandation from wpml ro elementor (regenerate css), adding custom css in theme => customization or in wpml languages menu => Aditional CSS
html:lang(ar) * {
font-family: "Noto Kufi Arabic",Arial,Lucida,sans-serif!important;
}
or
html:lang(ar) {
font-family: "Noto Kufi Arabic",Arial,Lucida,sans-serif!important;
}
or
html[lang="ar"] * {
font-family: 'Noto Kufi Arabic',Arial,Lucida,sans-serif !important;
color:red!important;
}
when i change text color it is working, it means css custom is detected
So why font is not changed, i tried other fonts but with no success
what is really strange even in computed we see the right font but not displayed !