Remove access to Google Fonts cdn server
-
I’m trying to remove the access to the google fonts cdn server. The needed fonts files are locally saved. I tried it with this code at functions.php in my child theme.
add_action( 'wp_print_styles', 'mh_dequeue_google_fonts_style', PHP_INT_MAX ); function mh_dequeue_google_fonts_style() { wp_dequeue_style( 'chaplin-google-fonts' ); }
But this doesn’t work. If I deregister ‘chaplin-google-fonts’ the color changes won’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Remove access to Google Fonts cdn server’ is closed to new replies.