Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #614864

    Hallo Yigit,

    du hattest bei meinen Custom Fonts etwas geändert damit diese funktionierten. Leider hab ich ein Update gemacht ohne groß zu überlegen und dabei wurde dies überschrieben. Zudem hattest du leider nicht geschrieben was Du genau geändert hast.
    Vielleicht kannst du mir das schicken und ich ändere es selbst dann weiß ich es für die Zukunft.

    Vielen Dank.
    Gerne kann der Thread auch hinterher wieder gelöscht werden, der andere war nur gesperrt das ich nichts mehr ändern konnte.

    #614876

    Hallo!

    Sorry, i do not speak German :(

    Can you please create a temporary admin login and post it here privately so i can check again? :)

    Best regards,
    Yigit

    #615149

    Sorry thought you answered in german as Kriesi is from Austria. I added it to the private part.
    Thanks.

    #615166

    Hey!

    We have limited german speaking members in our team but most of us speak english so I guess you get faster support. If you like german support that won’t be an issue :)

    The site looks good on my end please see screenshot attached. Try to hard reload and empty browser cache and review the site again.
    To do a hard refresh… First press F12 to open the Chrome Dev Tools then hold down Ctrl and click on the Reload button.

    Cheers!
    Vinay

    #615181

    No english is fine!
    Yeah looks fine but it’s not using the two custom fonts I would like to use such as “Unica one” for Headings and “Roboto Slab” for the Content.

    I added the following to my functions.php

     * This is only recommended for advanced users
     */
    
    if(isset($avia_config['use_child_theme_functions_only'])) return;
    
    /* Additonal Google Fonts */
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Unica One'] = 'Unica+One';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Roboto Slab'] = 'Roboto+Slab:400,100,700';
    
    return $fonts;
    }
    

    But nothing happens really. I also tried @import the fonts in my custom.css but still gets ignored.

    #616375

    Hey!

    Do you mind creating a temporary admin login and posting it here privately so we can look further into the issue? :)

    Best regards,
    Yigit

    #616450

    Aattached are the Details.
    Thanks again.

    #616465

    Perhaps you can just let me know which files you edited and then I can back them up.
    Thanks.

    #616897

    Hi!

    I have changed the code to following one

    /* Additonal Google Fonts */
    
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Unica One'] = 'Unica One';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Roboto Slab'] = 'Roboto Slab:100,400,700';
    return $fonts;
    }

    Please review your website now

    Cheers!
    Yigit

    #617217

    Ok thanks, I backup everything. Updated the theme, copied back the code snippet and chose font and everything is now working fine.
    Thanks a lot.

    Perhaps an idea to update the Documentation to your code ;)

    #617310

    Hey!

    Glad it is working fine now!
    I copied the code from our documentation then adjusted it :)

    Best regards,
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Custom Fonts – Again’ is closed to new replies.