INHERIT FONT GOOGLE ZIP FILE
Upload the Roboto font family as a single zip file from Enfold > Import/Export > Custom font manager the font upload page will refresh and display the font family with its variants. Roboto.zip (Compressed folder containing font variants).Let’s take Roboto font family as an example and below is the file structure in which it needs to be uploaded. The font variants will be auto-assigned by the theme stylesheet. In this method, a folder containing font variants is compressed and uploaded. In the second method, we can manually assign the font variants to a specific element of the theme. In the first method, the variants will be auto-selected by the theme stylesheet. There are a couple of ways to upload and manage font variants. NOTE: Do not add the font folders in one main folder as this will create sub-directories and it is not a supported format. Give the compressed file any name of your choice, for example, project-fonts.zip The zip file is now ready to upload. To upload the above fonts at once, select all the font folders (my-font-1, my-font-2, my-font-3) and compress it.
In the below example we have placed each font and its variants in separate folders: Uploading multiple fonts: Each font and its variants should be in its own folder. Note: To proceed further you should have the font files in the supported format as mentioned above.Ĭompress each font as a separate zip file: Right click on my-font-1.ttf and select compress or zip option to generate a compressed file my-font-1.zip repeat this step for the rest of the fonts till you have. Do Not Add ttf, woff or other uncompressed fonts directly to the theme.Do Not Add multiple font families in one folder.For the uploaded fonts to work correctly please follow the file/folder structure as mentioned below.