This topic has 9 replies, 3 voices, and was last updated 5 years by Radu.

  • Author
  • #199251
     gm713
    Participant

    Hi. I am loading all my fonts from my local server, and DO NOT wish to utilize google fonts at all.  Here’s everything that I have done to ensure that.

    1. Cleared out all Font Family calls from Theme Options > Fonts (see attached)
    2. Defined font styles in Child Theme’s style.css (see attached)
    3. Stored fonts on local server, and calling it via child themes style.css
    4. Ensured no custom code is calling google fonts APIs

    Despite of doing all of this, calls are being made to google font apis (See attached).

    I believe there is a “save” bug in the Settings> Google Fonts module. It is impossible to turn off/disable all the fonts.  last font unless you turn on some other font.  Hit Enabled filter to reveal the rogue font.

    Can you please add a “Save” button so the last font can be turned off.

     

     

     

     

     

    Attachments:
    You must be logged in to view attached files.
    #199317
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #199386
     Radu
    Moderator

    Hi,

    Setting all fonts under wp-admin -> theme options -> fonts -> standart fonts will make no google apis call

    Can you set them like that and test ? Also can you please provide admin credentials to take a closer look ?(private reply)
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #199772
     gm713
    Participant
    This reply has been set as private.
    #199881
     Radu
    Moderator

    Hi,

    The fonts are loaded by a plugin or something cuz i saw them loaded into page even i’m using other theme.

    So de-activate all plugins and check

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #199961
     gm713
    Participant

    Fair enough, but there are 2 calls in the fonts. One of them is from Kleo.

    Try this on your own build of Kleo:

    • Go to Settings>Google Web Fonts.
    • Now turn on at least 2 Google Web Fonts.
    • Go to Dashboard
    • Come back to Settings> Google Web Fonts
    • Try to turn off all the Google Web Fonts you enabled earlier
    • It appears as if they’re turned off
    • Go back to the Dashboard
    • Come back to Settings> Google Web Fonts
    • Click on Enabled button, to reveal the rogue font which doesn’t turn off
    #200079
     Radu
    Moderator

    Hi,

    Not sure why to do that, just set all fonts at once a non-google font and they are no mor calling google as my in screenshot.

    As alternative you can uset his code

    COPY CODE
    
    /* Deqeue the google fonts */
    function sq7r_deque_kleo_gogole_fonts() {
        if( function_exists('bp_is_active') && !bp_is_members_component()) {
            wp_deregister_style('kleo-google-fonts', $google_link, array(), '', 'all' );
            wp_dequeue_style('kleo-google-fonts');
        }
    }
    add_action('wp_enqueue_scripts', 'sq7r_deque_kleo_gogole_fonts',999);
    

    Add it to wp-content/themes/kleo-child/functions.php

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #200194
     gm713
    Participant

    Thanks, that helped.

    #200247
     Radu
    Moderator

    Great
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #200248
     Radu
    Moderator

    Great
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?