Tagged: custom fonts, wordpress dashboard, zip files
How can we zip files for custom fonts and remove the MacOS files attached to the fonts? In Enfold Theme.
Hey jocelynwasham,
Thank you for the inquiry.
You can follow these steps to zip files for custom fonts and remove the default MacOS files from the folder.
1. Place all your font files (.woff, .woff2, .ttf, .eot) in a single folder.
2. To remove the hidden MacOS hidden files, open the Terminal and navigate to your folder, the use the following commands.
cd /path/to/your/font-folder
find . -name ".DS_Store" -delete
find . -name "__MACOSX" -delete
3. Create a clean zip of your font folder by right clicking the folder + Compress (Mac) or Send to Compressed (zipped) folder on windows. Make sure the zip contains only your font files.
4. To upload it, go to the Enfold > Import/Export > Custom Font Manager.
Please check this link for more info: https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
Let us know the result.
Best regards,
Ismael
