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

    Hi,

    I was looking for a solution to add more google fonts to my website and found a solution through your forum.
    I added the code below to enfold-functions.php and now I cannot enter my site anymore as it is completely blank!

    Please help me asap!

    Thanks in advance,
    Naima

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

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Oswald’] = ‘Oswald:300,400,700’;
    return $fonts;
    }

    #445368

    Never mind! i fixed the issue with a little help from Google..

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘my website turned bank after adding code to enfold-functions.php!’ is closed to new replies.