Add/Remove Google Fonts from Woocommerce Storefront Theme

Woocommerce Storefront theme has Google fonts into the theme by default. But we still could easily add/remove their google fonts from from child theme, by adding snippet to the child theme functions.php.

// Remove Google Font from Storefront theme
function remove_fonts_from_child_styles(){
add_action( 'wp_enqueue_scripts', 'remove_fonts_from_child_styles', 999);

You can easily add google fonts to storefront child theme y adding simple snipped to child theme’s functions.php.

// add google font to storefront theme
add_filter( 'storefront_google_font_families', 'add_google_font_to_storefront' );
function add_google_font_to_storefront( $family ) {
$family['roboto'] = 'Roboto:300,400,600';
return $family;

Leave a Reply

Your email address will not be published. Required fields are marked *