Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #270894

    How do I add the Google font “Rum Raisin” to use for Headings and Menu?
    I added this code to my funtions.php, but do I need to add quick .css? Will it show up in the font options in the advanced options?

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Rum Raisin’] = ‘Rum Raisin:400,600,800’; // <- these are the font weight options
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Rum Raisin’] = ‘Rum Raisin:400,600,800’; // <- these are the font weight options
    return $fonts;
    }

    #270897
    #271189

    Hey!

    You just need to add this code to your child theme functions.php file. Then you can select the Rum Raisin font from the “font” dropdown on the theme options page (Enfold > Theme Options > General Styling > “General” tab – “Heading Font” dropdown). If you want to apply the font family to the menu links insert this code into the quick css field:

    
    #avia-menu li a{font-family: "Rum Raisin";}
    

    Cheers!
    Peter

    #271511

    Cool, it works. Is there an area in this support forum that has a list of popular quick css edits?

    #271598

    Hey!

    Thank you for the update.

    Actually there is none but In case you have any questions, please take some time to review all of the resources in the Theme Documentation as a lot of basic stuff like theme installation, css snippets etc are already available in there with better explanation and awesomeness. Watch some of our Video Tutorials to learn more about the different aspect of the theme. You can also search the forums for queries that has been answered before that might be related to your problem.

    If you find that you still have questions after taking the time on our documentations, don’t hesitate to let us know and we will be happy to assist you. If you have any requests or you feel like giving us a warm hug? You can definitely post it on our Feature Requests page. :)

    Best regards,
    Ismael

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