Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #491110

    So I have added this to functions.php

    //Add Google Fonts
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Shadows Into Light’] = ‘Shadows Into Light’;
    $fonts[‘Pacifico’] = ‘Pacifico’;
    $fonts[‘Rock+Salt’] = ‘Rock Salt’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Shadows Into Light’] = ‘Shadows Into Light’;
    $fonts[‘Pacifico’] = ‘Pacifico’;
    $fonts[‘Rock+Salt’] = ‘Rock Salt’;
    return $fonts;
    }

    Ten this to child theme styles
    .pacifico {
    font-family: ‘Pacifico’;
    }

    Then placed this in ALB text window
    <p class=”pacifico”>text here</p>

    And no new font displays..please..what am I doing wrong??

    Thank you

    #491156

    bump

    #491369

    Hey!

    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Cheers!
    Yigit

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