I purchased a magento 2 theme, but the theme uses the Google api font.
How can I use a custom local font?
Magento ver. 2.3.0
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI purchased a magento 2 theme, but the theme uses the Google api font.
How can I use a custom local font?
Magento ver. 2.3.0
@font-face { font-family: 'MyFonts'; src: url('../fonts/CustomFont/myfonts_regular.ttf'); font-weight: 300; font-style: normal }
<head>
...
<css src="css/fonts.css" />
...
</head>