Hi,
I’m trying to add a font to enfold but am having some issues. It is only sometimes rarely showing up. Here is what I added as a code snippet”
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Seymour One'] = 'Seymour One';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Seymour One'] = 'Seymour One';
return $fonts;
}
This is what I added to the quick css
`.header_color .main_menu ul:first-child > li > a { color: red; font-weight: 400; font-family: ‘Seymour One’, ‘HelveticaNeue’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif; }
Hey mcraig77,
Thanks for that, what exactly are you trying to target with your CSS?
Best regards,
Rikard
The header menu font.
Please Advise
Hi,
Please give this plugin a try https://wordpress.org/plugins/font-organizer/
Add the below class name for the menu items under 4. Custom element settings and choose your font.
#top #header .av-main-nav > li > a .avia-menu-text
Best regards,
Vinay
That worked, I used your code and the simple google fonts plugin.
Thanks!
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay