• Resolved apizio

    (@apizio)


    Hi there,

    I would like to delete all google fonts from my site, because of upcoming warnings concerning the gdpr.
    Now I fond a last line in the source code which I can not delete with the template. It seems the sportspress plugin uses google fonts. Here is the line:
    <link rel='stylesheet' id='sportspress-roboto-css' href='//fonts.googleapis.com/css?family=Roboto%3A400%2C500&subset=cyrillic%2Ccyrillic-ext%2Cgreek%2Cgreek-ext%2Clatin-ext%2Cvietnamese&ver=2.7' type='text/css' media='all' />
    Am I right? How can I change it so sportspress would use the font arial?

    Thank you very much,

    best regards,

    Antonio

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @apizio ,

    Try to add the following to your child theme’s functions.php file:

    add_action( 'wp_enqueue_scripts', 'sportspress_roboto_deregister_styles', 21 );
    function sportspress_roboto_deregister_styles() {
        wp_dequeue_style( 'sportspress-roboto' );
     
    }

    Thanks,
    Savvas

    I hope it’s okay to reply to this thread because I have exactly the same problem as the thread opener.

    I am using sportspress pro on a clients website …

    I tried the fix provided by @savvasha but unfortunately that didnt change anything. Not only is Roboto still loaded from Google’s servers but also a font called “Google Sans Text”. (Please, find a screenshot here.)

    To be completely safe in terms of the GDPRs data regulations, we need to prevent ANY connection to fonts.googleapis.com

    I know this is an amateur question (because … well … I AM an amateur), but isn’t it possible to completely disable ANY loading of external fonts and instead use locally hosted ones?

    Thanks,
    Chris

    Plugin Contributor Savvas

    (@savvasha)

    Hi there @chriskrauss ,

    Please open a new topic and make a reference to this one. And include a link to your site that has the issue with Google fonts ??

    Thanks,
    Savvas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Fonts’ is closed to new replies.