Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1128209

    Hi,
    On the website https://www.crkl.eu/ I use “Karmina” as main font. This is a google-font.
    In my childtheme (CRKL) i wrote this code

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Karmina'] = 'Karmina';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Karmina'] = 'Karmina';
    return $fonts;
    }

    On my mac, the font is displayed as it should.
    But on smartphone, tablets and pc, the font is replaced by another font.
    What could be the problem?

    • This topic was modified 5 years, 4 months ago by creatorke.
    #1128408

    Hey creatorke,

    It’s not displaying on my end on desktop either so that means you likely have the font installed on your local computer. Please try to upload the font under Enfold->Import/Export to see if that works better. Make sure that the code you added is removed or commented out before doing that.

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.