Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #234663


    I am wondering if I can add a new font to the list of fonts in the Enfold styling section?



    Hey Simon!

    What font are you trying to use? You can only add google fonts to the Enfold > Style > fonts dropdown. Add this on functions.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;

    Change the Source Sans Pro font with the font you’re trying to use. If you want to use fonts other than google fonts, please search google for font face integration.




    Hi Ismael!

    Thank you for the quick reply. I was looking into using Helvetica Neue Ultralight as the “Header” font and Helvetica Neue for the “Body” text, I have the body text set as this but Helvetica Neue is not an option in the “Header” drop down. I changed it using firebug to see what it would look like and went PT Sans in the end – Helvetica Neue Ultralight is a little tooooo thin for it to be used as headers.

    Thanks anyway – I’ll keep this in mind for if I change it later.

    5 stars!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Add New Font’ is closed to new replies.