Tagged: googlefonts, webfonts
-
AuthorPosts
-
May 12, 2021 at 11:46 am #1299894
Hallo liebes Support Team,
wir nutzen Ihr Theme zum ersten Mal und haben auch direkte Probleme mit der Installation unsere Webfonts.
Wir möchten gerne 2 Schriftarten installieren und definieren.
Leider können wir nur eine Schriftart installieren, die zweite nimmt das System nicht an…gibt es dafür einen bestimmten Grund? Kann man nur eine installieren? Gibt es hierfür eine Anleitung oder ein Tutorial?
Wo kann ich meine Fonts und Größen für H1-H6 definieren, oder muss das in der CSS definiert werden?
Wo und wie kann ich die Google-Fonts deaktivieren/löschen?Vielen Dank im Voraus für Ihr schnelles und hilfreiches Feedback.
Grüße
May 14, 2021 at 7:58 am #1300258Hey Christoph_Wagener,
Thank you for the inquiry.
Where did you get the font files? Please note that font manager only accepts Google font files, and to be able to upload different fonts, you have to make sure that the name of font files or sets are different.
Best regards,
IsmaelMay 24, 2021 at 12:21 pm #1301986Hello all,
I have a similar question: how can I upload different styles of Google font Work Sans? I would like to use styles like “light” or “thin” etc., but when I upload a zipped font (WorkSans-Thin.ttf) Enfold renames the font to “MACOSX ( font-family: macosx )” for example and does not integrate. If I add a zip file of the WorkSans-Light.ttf, the system replaces the first one again.
The names of the fonts are different, aren’t they?
Is it more advisable to put the fonts directly into the backend?
If so, should I create a folder in Enfold-Child for this purpose?
Does the edit function in Enfold-Child > Advanced Styling, then remain.Best regards
Translated with http://www.DeepL.com/Translator (free version)
May 25, 2021 at 9:09 pm #1302293Hi,
Thank you for following up.
For more info about adding a new font in the theme, please check the following documentation.
// https://kriesi.at/documentation/enfold/typography/#how-to-add-google-fonts-using-css
And in order to properly upload a custom font, please check this section.
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
You can also use the avf_google_heading_font filter to include a new item in the font selection. Usage examples can be found in the following threads.
// https://kriesi.at/support/topic/google-fonts-not-appearing-in-safari/
// https://kriesi.at/support/topic/unable-to-upload-google-font-into-enfold/#post-1138540
// https://kriesi.at/support/topic/font-weight-issues/#post-1298391Best regards,
IsmaelMay 30, 2021 at 7:45 am #1303001Hello Ismael, sorry for my late feedback and many thanks for your tips. I will now work through this and if I still have questions I’ll get back to you.
Greetings mavofaJune 1, 2021 at 4:53 am #1303312Hi Mavofa,
Thanks for the update. Please let us know if you should need any further help on the topic.
Best regards,
RikardJune 6, 2021 at 3:02 pm #1304276Hello all,
a week has passed and I could only now address this issue again: so, whenever I upload a zip file with the desired font via Custom font uploader, in this case the Nunito as Nunito-1.zip, the font is renamed by Enfold to “font: MACOSX ( font-family: macosx )”.
After that I can also select the font, but without effect. Refreshing the browser-cache does not help.Could it be that a custom CSS is preventing this?
Translated with http://www.DeepL.com/Translator (free version)
EDIT: Fonts Format is .ttf
The uploaded fonts appear in > Enfold > General Styling > Fonts
The fonts were previously loaded at Google-Fonts- This reply was modified 3 years, 6 months ago by mavofa2one.
June 7, 2021 at 3:48 am #1304322Hi,
Thank you for the inquiry.
Which font weights or variations did you select or include in the font zip file? Please make sure that the font zip file is directly downloaded from Google. Visit the following link, then click the Download Family button.
// https://fonts.google.com/specimen/Nunito#standard-styles
Best regards,
IsmaelJune 7, 2021 at 6:42 am #1304342the font was loaded directly from google, but macos automatically unzipped the zip file. After that i zipped a selection of the font styles again and uploaded it. included were the styles light, extra-light, regular and semi-bold.
i think i will have a look into the macos settings tonight and try to stop the automatic zipping and then try again.unfortunately google currently only provides the fonts as ttf. but in order to integrate them as woff i have to convert the fonts myself. unfortunately i have no choice but to zip the fonts afterwards via the system. Or am i missing something?
Regardless, thanks for the great support and the good links. In the meantime, I’m already getting along better with the advanced settings in Enfold Child and there are already a lot of fonts integrated.
Best regards,
mavofaJune 8, 2021 at 8:53 am #1304564Hi,
Thank you for following up.
There is actually a macos folder included the font zip file. What happens when you remove that folder?
Why do you need woff? TTF format is fully supported by major browsers except IE11. But it does not matter because WordPress no longer supports the browser (IE11).
Best regards,
IsmaelJune 12, 2021 at 10:34 am #1305392Thanks again for the support.
The problem with the Google Fonts is that I don’t want to load all styles and import them afterwards. But as soon as I make a selection of a downloaded file and zip it again with macos (including the correct naming), Enfold somehow can’t do anything with it and renames the font “MACOSX”.
Or I or macOS are doing something wrong?“There is actually a macos folder containing the font zip file. What happens when you remove that folder?”
Sorry, I do not understand this question. After zipping, I can’t view the contents.
So I don’t see a macos folder (an invisible folder is not included), or what do you mean?Regarding woff:
I have since found an alternative on Google:
the page “google-webfonts-helper –
A Hassle-Free Way to Self-Host Google Fonts by Mario Ranftl”.
I get web fonts loaded there as a zip file including woff & Co.You have probably already noticed that I am not a professional. I have read that woff (woff2)-files would be better due to compression, also in terms of page load time speed – or am i wrong?
Any objections or concerns?Have a nice weekend.
Translated with http://www.DeepL.com/Translator (free version)
June 15, 2021 at 8:16 am #1305732Hi,
But as soon as I make a selection of a downloaded file and zip it again with macos
So it works when you upload the original zip file? You can actually select the font variation or styles that you need when using the google-webfonts-helper and only download those variations excluding the others. But you have to rename the files and make sure that it follows Google’s naming conventions. Example.
Nunito-Black.woff
Nunito-Regular.woff
Nunito-ExtraLightItalic.woff
Nunito-Bold.woffThe custom font uploader will not be able to recognize a font with an arbitrary name.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.