Shop Categories

X

google fonts

Home Forums Agama Pro google fonts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23249
    maru
    Participant

    Hello, how do i remove

    <link href=’https://fonts.gstatic.com&#8217; crossorigin rel=’preconnect’ />

    from the header?

    #23308
    Zex
    Moderator
    This reply has been marked as private.
    #23332
    maru
    Participant

    Hi… but Agama pro is not loading the fonts from google i saw they download from own server.Am i wrong?

    I no longer see any fonts loaded from Google servers just that code in the source code of the page

    Why i see no request in the network tab when i inspect with chrome?

    If i use Autoptimize there is a hook where i can remove it, something like

    add_filter(‘autoptimize_html_after_minify’, function($content) {

    $content = str_replace(“<link href=’https://fonts.gstatic.com&#8217; crossorigin rel=’preconnect’ />”, ‘ ‘, $content);

    return $content;
    }, 10, 1);

    will this remove it?

    #23401
    Jerry
    Keymaster

    Hello @maru,

    All fonts customizations in the Agama Pro theme are handled by Kirki framework and all the fonts are loaded via Google API.

    We do not suggest you remove anything which is part of the theme core.

    This is your second thread about Agama fonts so I’m lockin this one.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘google fonts’ is closed to new replies.