-
AuthorPosts
-
August 4, 2015 at 11:57 pm #483033
I am using the ‘Easy Google Fonts’-Plugin which works fine so far for h1-h6 and paragraphs.
I would like to use this Plugin as well in order to adjust the font of my Main Menu.
Therefor I have to create a new “font control”. I am trying this for more than a week but nothing is working.I already asked the support of the plugin and they told me to create a font control with these selectors:
#top #header .av-main-nav > li > a, #top #header .av-main-nav > li > a .avia-menu-text
But even this is not working.
What else could I try?
August 5, 2015 at 3:04 pm #483391Hi Jana!
Please add following code to Quick CSS instead
#top #header .av-main-nav > li > a > .avia-menu-text { font-family: 'Merriweather', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field
Regards,
YigitAugust 5, 2015 at 5:14 pm #483498Hey Yigit,
thanks for the quick reply and your help, but this is not what I was looking for.
I would like to switch the font via the Easy Google Fonts plugin, especially because I want the font of the Main Menu to be thin.Could you help me with this problem as well?
Best regards from Germany
Edit: It doesn’t matter. Needless to say that your advice is much easier then using the Plugin ;) I just couldn’t stop thinking about the solution for the font control! Thanks for your support, anyway!
- This reply was modified 8 years, 7 months ago by revierperlen.
August 6, 2015 at 8:52 am #483736Hi,
You shouldn’t need to use a plugin to that, you can add a new Google font to the Enfold lists by adding the following in your child theme’s function.php:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800'; return $fonts; }
You can then edit your menu items to display the new font under Enfold–>Advanced Styling.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.