We all know that GDPR will kill internet, meanwhile, we can fight with it.
Local font option was added in version 3 of Greenshift. This allows you to replace external Google fonts and also gives you ability to use any font on site.
First of all, you need to upload fonts, you can do this in Greenshift settings.
You can upload unlimited fonts, but we strongly recommended to use not more than 2 fonts.
In Label, you must place exact name of your font.
Once you uploaded fonts, now, you can select them in Typography options
Don’t forget, that you can use not only local typography options, but also global presets
We definitely recommend to upload only woff2 format because it’s most modern and has small size
How to use local google fonts for GDPR ready sites
If you like google fonts but you want to host them locally, then, visit next site
Select font which you want to download. You will get a lot of files inside. But usually, you need to upload only woff or woff2 file.
How to deal with several styles and variants
If you selected several styles, then, you will get separate files for each style. When you upload your font files, place different names for each style.
For example, Popping Bold, Poppins Light, etc
Each name should have only Latin symbols without numbers and special symbols
How to use custom fonts which are registered in theme
In many premium themes, you can have option to register local fonts. If you want to use such fonts also in Greenshift, you need to add local fonts in Greenshift settings, but don’t upload any font files. So, you need to add only name of font, which must be exactly the same as name of font which you register in theme or other plugin.