Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1077098

    Hi Support,
    Fantastic theme. Been using for years.
    I am trying to add a google font that is not listed under the included fints of the theme. The fonts are: Saira and Saira Semi Condensed.
    I have tried to use the import/export tab and to add the fonts using Custom Font Manager, I followed the steps but then it comes back with the message sayign that could not add the font as server did not respond. So I tried and changed the Folder permissions using FTP to 777. Still not uploading and comes back wioth the same message.
    Tried to import the font and call it under the Quick CSS section:
    Code:
    =========
    @import url(‘https://fonts.googleapis.com/css?family=Saira+Semi+Condensed:300,400,500,600,700|Saira:300,400,500,600,700’);
    h1, h2, h3, h4, h5, h6 { font-family: ‘Saira Semi Condensed’, sans-serif; }
    .avia-menu {font-family: ‘Saira Semi Condensed’, sans-serif; font-weight:300 }
    ===========

    Still no success.

    Then I tried to add the font under the function.php

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Saira Semi Condensed’] = ‘Saira Semi Condensed’;
    return $fonts;
    }

    Still not working. What do I need to do? And what am I doing wrong?

    PLEASE HELP.

    Many thanks
    Emmy

    #1077617

    Hey Emmy,

    I see the Saira Semi Condensed font being used on your site for the headers, if you are not seeing that on your end then please try clearing your cache and do a hard reload of the page.

    Best regards,
    Rikard

    #1078031

    Hi Rikard,

    Thank you for your reply, well after failing to make any of the above work I then searched and just installed a plugin called Google Fonts for WordPress.

    Thanks
    Emmy

    #1078571

    Hi Emmy,

    Great, I’m glad you found a solution to your problem. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1143570

    @Rikard, I am having the same problem uploading Google fonts in the Custom Font Manager…with the same error “Couldn’t add the font because the server didn’t respond. Please reload the page, then try again.”

    I don’t think I should have to upload a plugin to do what the theme is supposed to do. Please help.

    #1143710

    Hi JPOsteen,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

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