How can I disable google fonts completely?

Discussion in 'Ichiban' started by luogo, Aug 17, 2017.

  1. luogo

    luogo New Member

    Joined:
    May 17, 2015
    Messages:
    11
    Likes Received:
    0
    Hi,
    how can I disable google fonts completely in ichiban?

    Kind regrads
    Martin
     
  2. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,583
    Likes Received:
    58
    Hi Martin,

    If you intent to use websafe fonts for everything, just select it for all the tpography options. Then Google fonts will not be loaded anymore.
    But if that's too troublesome, just comment the code for now inside includes/ichi-wp.php

    This line:
    Code (PHP):

    if( $google_fonts_url = Youxi_Font::google_font_request_url() ) {
        wp_enqueue_style( 'google-fonts', $google_fonts_url, array(), $theme_version, 'screen' );
    }
    Thanks :)
     
  3. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,583
    Likes Received:
    58
    If you've already added the code but the google fonts still get loaded, then there is something else loading the google fonts.
    Please share your site and login details via private message and I will take a look.

    Thanks!
     
  4. luogo

    luogo New Member

    Joined:
    May 17, 2015
    Messages:
    11
    Likes Received:
    0
    Any news on that topic?
     
  5. maimairel

    maimairel Administrator
    Staff Member

    Joined:
    Apr 16, 2014
    Messages:
    1,583
    Likes Received:
    58
    Hi,

    Will check your site today. Let's continue the conversation via private message.

    Thanks!
     

Share This Page