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

    Hi Guys,

    On a previous topic you supplied me with some code to go into “functions.php” so I can use the Raleway font with all the strengths.

    ===================
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:100,200,300,400,500,600,700,800,900’;
    return $fonts;
    }
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:100,200,300,400,500,600,700,800,900’;
    return $fonts;
    }
    ======================

    Since I had it working you have updated the Theme twice, I have then re uploaded the code to the php file and encountered the problems:
    1) Font didn’t show correct for 2 days then worked all of a sudden !
    2) Font wont show now at all
    I feel I am doing something wrong. My process is: Appearance > Editor > Clcik on Theme Functions on right hand side and then paste the code into the area you previously indicated. > Press update file.

    Can you please look into this for me and let me know where I am going wrong – thanks guys Brett

    #403130

    Hi exposuredp!

    Are you using any caching plugins at all? Please disable it or any other plugin that are active to see if any of them are causing a conflict. Also, did you try to empty your browser cache and restart? Does the problem occur on other machines as well?

    Regards,
    Rikard

    #403193

    Hi, I just worked it out – the update didn’t keep the font settings under general styling! I changed both Heading and body to Raleway and its now working fine

    Thanks Brett

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Raleway Font not working’ is closed to new replies.