This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Eva Kemp
Hello.
Seems it loads other fonts or even with other weight and after some seconds loads the fonts we
need as we define them in child theme functions.php file:
function load_fonts() {
wp_register_style(‘googleFonts’, ‘https://fonts.googleapis.com/css?family=Open+Sans:100,300,600,subset=greek,latin’);
wp_enqueue_style( ‘googleFonts’);
}
add_action(‘wp_print_styles’, ‘load_fonts’);
How can we fix that problem please?
Thanks in advance
Hello,
You need write font family in custom.css or in child style.css for the elements you need.
Please clarify the issue with more details and how we can replicate it.
Regards,
Eva Kemp.
Tagged: fonts, optimization, problem, solutions, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up