remove google fonts to use self-hosted fonts
-
Hi there,
we use Customizr Theme for this site for several years.
Selected font was “Open Sans” we use as self-hosted font.
Because of GDPR we disabled Google Fonts by Autoptimize Plugin.
That worked until last update to Customizr 4.3.0After the update a test via https://webbkoll.dataskydd.net/en/results?url=http%3A%2F%2Fmein-ei.nrw shows Third-Party-Request to
//fonts.googleapis.com/css?family=Open+Sans&display=swapI tried to dequeue google fonts by adding
//* Dequeue Styles - Remove Google Fonts from Customizr Theme add_action( 'wp_print_styles', 'czr_fn_maybe_enqueue_gfonts' ); function czr_fn_maybe_enqueue_gfonts() { wp_dequeue_style( 'czr-gfonts' ); }
to functions.php in my childtheme.
But this doesn’t work at all.Do you have a solution for this?
Thanks in advance
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘remove google fonts to use self-hosted fonts’ is closed to new replies.