Argento custom fonts
Custom fonts offer more versatility and creativity than standard web fonts and can help a website stand out from its competitors. Custom fonts can also be used to reinforce and enhance a website’s branding and identity. While making Argento customizations often the custom font changes are needed too.
Instructions
To do this you need to follow these few simple steps:
-
Find your font at Google Fonts i.e. Quicksand. Choose all required parameters and copy the URL.
In our case it is:
https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap
-
Then you can use the GetFonts tool by VovaYatsyuk to download chosen fonts and styles. Or use any other convenient way to get them.
-
You’ll need the custom theme to be created also.
-
Unzip the
fonts.zip
and put thefonts
folder to custom themeweb
Example:
web/
├─ fonts/
│ ├─ quicksand/
│ │ ├─ v30/
│ │ │ ├─ 6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2
│ │ │ ├─ 6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2
│ │ │ ├─ 6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2
│ │ │ ├─ 6xKtdSZaM9iE8KbpRA_hK1QN.woff2
│ │ │ ├─ 6xKtdSZaM9iE8KbpRA_hK1QN.woff2
Magento_Theme/layout/default_head_blocks.xml
in your custom theme
where we’ll call our new fonts.