Magento 2 Using Google Fonts

In your theme folder> Magento_Theme > layout > default_head_blocks.xml

Make it look like the following replacing your Google Fonts link

<?xml version=”1.0″?>
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
<page xmlns:xsi=”” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”>
<link src=”” src_type=”url” rel=”stylesheet” type=”text/css” />


Then in your web > source > _typography.less file update it to be the following


@import url(‘’);
@font-family__base: @font-family-name__base, @font-family__sans-serif;


You should now have your Google font across your website

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.