Okay
  Public Ticket #295218
How to disable google fonts
Closed

Comments

  • Alex started the conversation

    Hello there,

    Since I'm in China mainland and gov had block the google service, the site speed is very low due to the connection to the google font service. I know there is WP plugin to disable google fonts, yet it only work for official WP files and themes. I'm wondering if there is a way to disable or replace google font in the KOSE(Fullscreen Portfolio WordPress Theme) I bought. Thanks a lot in advance.  

    Alex

  •  291
    Paul replied

    Hi Alex,

    Yes, but you would need to a bit edit the theme code. Please open "/includes/assets.php" file and find this code:

    wp_enqueue_style( 'uxbarn-google-fonts' );

    Just comment or remove it out. This will disable the Google Fonts link.

    Regards,
    Paul

  •   Alex replied privately