Add Google fonts locally as custom fonts

Hello,

I have read you help on how to store Google Fonts locally as Custom Fonts.

Having said this, if a Google font is using 8 styles (FontName Regular 100, FontName Bold Italic 400 etc.) is it necessary to create 8 custom fonts in theme options with relative woff files? In this case, will I then have to replace each instance of G font in Theme Options - Fonts with the particular variant of each font? I'm attaching a screenshot to make my question clearer.

Many Thanks



Comments

  • Hey,

    if each file contains specific style of the font, then yes, you have to upload 8 different files. However, if it contains all styles in one file, then uploading one file would be enough.

  • Thanks. Is the option in Theme Settings - Performance - Cache fonts local an alternative to the Custom Font method? I tried it on one site which, apart from a page which contains a Revolution Slider, worked well. On another site, the same method broke menu css.

    As well, can the same be done with Font Awesome?

  • Yes, indeed. This is an alternative so Google Fonts may load locally from the same server as website and not from Google. Font Awesome loads locally always so there is no such option.

  • Tried the "Cache fonts local" on four of our sites with BeTheme and unfortunately they are all still making calls to fonts.googleapis.com and fonts.gstatic.com.

    All have latest version of the theme and no caching plugins.

    Is there something I'm missing?

  • Please send us WordPress dashboard access to one of these websites privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.