Google fonts not loading
-
I just realised that the client isn’t see the fonts as intended.
I didn’t notice because I have the fonts installed locally.Have I done something wrong with the enqueue?
This is the top of my functions.php:
function my_theme_enqueue_styles() { $parent_style = 'chaplin-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );I could add the google font imports to my child stylesheet, but I just wanted to be sure something else wasn’t wrong.
Thanks
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Google fonts not loading’ is closed to new replies.
