Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #558521

    Hi all, I’m trying to add two extra fonts following the functions option you have but I don’t see the fonts in the heading or body dropdown menus.

    Here’s the code I added in functions.php:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Rufina’] = ‘Rufina:400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Source Sans Pro’] = ‘Source Sans Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic’;
    return $fonts;
    }

    Let me know if I have to add extra code in order to get these fonts.

    #558580

    Hi Jorge!

    can you please paste the code to pastebin and show it to use, or use the code tags of the forum?
    The way it is pasted, the ” are not proper defined, so yes it might not be working as should.

    Cheers!
    Basilis

    #558583

    Hi Basilis, here’s the link:

    http://pastebin.com/H890Z9QA

    #558849

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

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