Okay
  Public Ticket #984310
Disabling two Google Fonts
Closed

Comments

  •  1
    Zach started the conversation

    How would I go about disabling these two Google font resources:

    https://fonts.googleapis.com/cssfamily=Roboto+Condensed&subset=latin&ver=4.7 https://fonts.googleapis.com/css?family=Roboto+Condensed&ver=4.7

    I want to have them load directly from my CDN to increase my website’s speed.

    I am using KeyCDN which has a detailed tutorial on how to copy the fonts over to my KeyCDN account, but I don’t know where exactly I would disable those two fonts in the theme files?

    Thanks!

    Zach

  • [deleted] replied

    Hi Zach,

    Yes that is possible however you need to replace one file as this is not implemented yet:

    1. Download this file and replace it in this directory (of the theme): /inc

    2. Add this code in functions.php

    add_filter( 'aurum_primary_font_include', '__return_false' );
    add_filter( 'aurum_heading_font_include', '__return_false' );

    This should work for you.

    Make sure that the Roboto font is being called in your site.

  •   Zach replied privately
  • [deleted] replied

    Hi Zach,

    This question is related to theme developer and I am unable to give you any solution about this because I am not backend developer.

    Our theme developer Arlind can help you with this, but he is not in the office until 03 Jan.

    When Arlind come back, just reply to this thread and you will make sure he will see your comment.

    Hope for your understanding and Happy Holidays from Laborator.