
You might already check Include static resources (JavaScript, CSS, fonts) article by magento team. They state that to add google font you need to update /Magento_Theme/layout/default_head_blocks.xml with
1 | <link src="http://fonts.googleapis.com/css?family=Montserrat" src_type="url" /> |
But as a result it is not working. Correct code is
1 | <link src="https://fonts.googleapis.com/css?family=Montserrat" src_type="url" rel="stylesheet" type="text/css" /> |
It wont work without additional parameters. Google fonts used in our tutorial for Slider Revolution: […]
read more