Tagged: ,

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

    ***EDIT: See below for better method of adding bold font weight***

    To enable a bold font-weight for headings, insert this code into your child theme functions.php file:

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    add_filter( 'avf_google_content_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    $fonts['GOOGLE FONT NAME HERE'] = 'GOOGLE FONT NAME HERE:400,600,700,800&subset=latin,latin-ext';
    return $fonts;

    ***Leave your Heading Font in the General Settings area set to Default***
    ***Make sure each ‘h tag’ has the corresponding font selected (whichever font you added to in the code above) in the Advanced Styling area***

    Now in your css add the following code to the h tag that you want to use a bold font-weight for:

    h1 {
    font-weight: bold !important;


    h1 {
    font-weight: bolder !important;

    It make take some time for the changes to take effect. For some reason it took about 24 hours before my font-weights changed. Hope this is helpful.

    • This topic was modified 9 years, 7 months ago by zerozendesign.

    Hey David!

    Maybe a browser cache? Thanks for sharing. :)



    Just discovered a MUCH easier way to add different font weights. Simply add the code (example below – using Open Sans) from Google Fonts to the ‘Google Analytics Tracking Code’ area which is at the bottom of the main Theme Options page for the Enfold Theme.

    <link href='http://fonts.googleapis.com/css family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>

    You can also use this simple method to load Google Fonts onto your site. Enfold shows that lots of Google Fonts are available but Open Sans is really the only one that is installed.


Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Enfold > Tutorial > Bold Font Weight’ is closed to new replies.