Remove Google Fonts - is it possible?
-
According to German privacy laws the use of Google Fonts from Google Font Servers is forbidden ( strongly disadvised). Is there any way to disable / override the use of Google Fonts? Any hints are very appreciated (like - "use skin XYZ" or "customize here link"). Thank you so much in advance for your kind help.
-
Hello @Andreas-Niemeyer, are you using NodeBB v3? It no longer calls out to Google fonts, if I recall correctly.
-
Hi @julian. Thanks so much. We are using 1.13.2. Do you know any Workaround for calling out to Google in older versions?
-
I highly recommend you upgrade for security reasons, but your version should have this fix already. What theme are you using?
This was fixed in Persona 9.1.15 and NodeBB 1.13.2 should have Persona 10.1.34
-
Hi @PitaJ . We are using Persona 10.1.34. The Google Fonts import is done by a file called "client-spacelab.css". It is located under "assets". Sadly I don't know how to alter it.
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
I think we will try your recommended upgrade to version 3.1.4.
-
Looks like that's related to the bootswatch skin. You should use a different skin to avoid it.
-
@baris Thanks so much. It worked (please mark as solved). Solution for users facing the same issue:
• click the blue button (reset to default skin)
• restart server
• done -
-
@Andreas-Niemeyer said in Remove Google Fonts - is it possible?:
• restart server
./nodebb restart
in form folder