Welcome to Help center

We are here to help

How to add own Google fonts to Fruitful theme using Fruitful-child theme

Follow

For example. In child theme function.php to add the code:

function child_fonts($font_family_options) {
    $font_family_options['Indie Flower, cursive'] = __('Indie Flower, cursive', 'fruitful' );
    return $font_family_options;
 }
 add_filter('fruitful_fonts_list', 'child_fonts');

In style.css

@import url(https://fonts.googleapis.com/css?family=Indie+Flower);

Comments

Top
Powered by Zendesk