# Loading Google Fonts from own Server

**URL:** <https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [October 25, 2022, 9:01am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808 "2022-10-25T09:01:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBaum114](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@JBaum114](https://community.hubspot.com/u/JBaum114)\
**Post date:** [October 25, 2022, 9:01am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/1 "2022-10-25T09:01:14Z")

</div>

Hi Community,

Due to new regulations in Germany, I need to integrate the Google fonts into our server and load them from there. I also found an article already with an introduction guide([Solved: HubSpot Community - Einsatz von Google Fonts bei Landing Pages - HubSpot Community](https://community.hubspot.com/t5/Marketing-Hub-Fragen-Tipps/Einsatz-von-Google-Fonts-bei-Landing-Pages/m-p/698632)), but I’m currently stuck in the middle. I am hesitating to just try out the code and check what’s happening afterwards. My main problems are following:

I already loaded our fonts into a folder in the file manager, but I’m not sure where to start. I found the theme-override.css, but if I put the font face rule it can automaticly overrite all sources of google urls with it?

In the introduction it is somehow vague. He is giving a font face rule template and is indicating, that there are some different hints that someone needs to consider, but it was not specified enough for me and I can’t risk to play around with the website.

Please help, thank you

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [October 25, 2022, 2:28pm UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/2 "2022-10-25T14:28:49Z")

</div>

Hi JBaum114,

If think you need to perform every step of this [answer](https://community.hubspot.com/t5/GDPR/Google-Fonts-Local-Hosting/m-p/686037/highlight/true#M1426) to use your google font from HubSpot server 🙂

Hope it helps.

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)

---

<div class="post-metadata">

**Author:** ![JBaum114](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@JBaum114](https://community.hubspot.com/u/JBaum114)\
**Post date:** [October 26, 2022, 6:14am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/3 "2022-10-26T06:14:02Z")

</div>

Hi Matthieu,

Thank you for your answer, if we would decide to exchange all fonts into fonts that are already standard in Hubspot, would it be the same procedure?

best regards,

Janosch

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [October 26, 2022, 8:23am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/4 "2022-10-26T08:23:09Z")

</div>

Hi Janosch,

What do you mean by stantard in HubSpot? In Rich Text?

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)

---

<div class="post-metadata">

**Author:** ![JBaum114](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@JBaum114](https://community.hubspot.com/u/JBaum114)\
**Post date:** [October 26, 2022, 11:59am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/5 "2022-10-26T11:59:52Z")

</div>

Hi Matthieu,

I would like to switch the google fonts to embetted standard fonts on the whole website. The issue is that I didn’t implement the google fonts before and I don’t know where to change them to erase them all, so they will not be loaded again. I would need to find all related stylesheets and change them. Meaning - there should be an excisting css for the embetted fonts, so I can adress them in other css for paragraph and h1, h2, aso. On top of that I need to get rit of all potential external google font loading actions, that might accure although I wouldn’t use them… I got the instructions from my higher management, that we would use standard fonts only and won’t even use internal embetted google fonts. But maybe the instruction that you sent is also appliying, I would just need to find the css for the standard fonts or I need to create it also…?

Thanks for your support,

best regards,

Janosch

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [October 28, 2022, 8:07am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/6 "2022-10-28T08:07:18Z")

</div>

Hi Janosch,

sorry for the delay…

In that case you only need to update the _fields.json_ to remove the call of the google font made by HubSpot. You can follow the step in the previous answer above. Then you need to update the _override.css_ to set the font you want to use instead. Basicly replace every reference of the variable by your font 🙂

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)

---

<div class="post-metadata">

**Author:** ![JBaum114](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@JBaum114](https://community.hubspot.com/u/JBaum114)\
**Post date:** [November 2, 2022, 8:26am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/7 "2022-11-02T08:26:39Z")

</div>

Thank you,

also Hubspot released [an update](https://developers.hubspot.com/changelog/google-fonts-loaded-using-fields-now-served-from-your-domain) yesterday where they switch all fonts connected with Google to a domain based @font face based solution. So I can lean back and relax:) Thank you very much for the good answers though.

best regards,

Janosch

---

<div class="post-metadata">

**Author:** ![MBERARD](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mberard/32/61390_2.png) [@MBERARD](https://community.hubspot.com/u/MBERARD)\
**Post date:** [November 2, 2022, 8:45am UTC](https://community.hubspot.com/t/loading-google-fonts-from-own-server/67808/8 "2022-11-02T08:45:39Z")

</div>

That’s good to know indeed 👍  
Happy to helped!

Have a nice day!

Matthieu

[matthieu.berard@markentive.com](mailto:matthieu.berard@markentive.com)
