Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #741525

    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; }

    #742180

    Hey mcraig77,

    Thanks for that, what exactly are you trying to target with your CSS?

    Best regards,
    Rikard

    #742307

    The header menu font.

    Please Advise

    #742390

    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

    #742577

    That worked, I used your code and the simple google fonts plugin.

    Thanks!

    #742594

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add google font to enfold’ is closed to new replies.