Tagged: custom font, google fonts, Menu Font
-
AuthorPosts
-
May 27, 2014 at 11:37 pm #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;
}May 27, 2014 at 11:39 pm #270897May 28, 2014 at 3:34 pm #271189Hey!
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!
PeterMay 28, 2014 at 11:51 pm #271511Cool, it works. Is there an area in this support forum that has a list of popular quick css edits?
May 29, 2014 at 4:05 am #271598Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.