Google Fonts imported anyway
-
Hello.
First things first, thank you so much for this amazing plugin! It’s fantastic and I’m using replacing any other plugin I used before to build my pages in Gutenberg (with some little exception for Spectra).
But I have a problem: I need to totally avoid Google Fonts (due to GDPR) and though I have tried everything (manually uploading fonts to the server and creating font-face rules in custom CSS, installing several plugins (like Local Google Fonts, Disable and remove Google Fonts, OMGF), Google Fonts still are loaded. If I look at the page source I find the following code.
<style id='greenshift-global-css-inline-css'> @import url("https://fonts.googleapis.com/css?family=Fahkwang:600&display=swap");@import url("https://fonts.googleapis.com/css?family=Fahkwang:600&display=swap");@import url("https://fonts.googleapis.com/css?family=Fahkwang:600&display=swap");body{--gs-type-one-size:clamp(2rem, 2.5vw, 3rem)}body{--gs-type-one-lineheight:clamp(2.6rem, 3vw, 3.5rem)}body{--gs-type-one-weight:600}body{--gs-type-one-family:"Fahkwang"}body{--gs-type-two-size:clamp(1.5rem, 1.7vw, 2.1rem)}body{--gs-type-two-lineheight:clamp(2rem, 2.1vw, 2.5rem)}body{--gs-type-two-weight:600}body{--gs-type-two-family:"Fahkwang"}body{--gs-type-three-size:clamp(1.3rem, 1.3vw, 1.7rem)}body{--gs-type-three-lineheight:clamp(1.7rem, 1.8vw, 2.1rem)}body{--gs-type-three-weight:600}body{--gs-type-three-family:"Fahkwang"}body{--gs-type-four-size:clamp(1.2rem, 1.1vw, 1.5rem)}body{--gs-type-four-lineheight:clamp(1.4rem, 1.5vw, 1.8rem)}body{--gs-type-five-size:clamp(1rem, 1vw, 1.3rem)}body{--gs-type-five-lineheight:clamp(1.2rem, 1.3vw, 1.5rem)}body{--gs-colorone:#67b229}body{--gs-colortwo:#4e8520}body{--gs-colorfive:#fdd51e}:root{--gs-type-one-size:36px;--gs-type-one-lineheight:44px;--gs-type-two-size:30px;--gs-type-two-lineheight:38px;--gs-type-three-size:24px;--gs-type-three-lineheight:30px;--gs-type-four-size:20px;--gs-type-four-lineheight:28px;--gs-type-five-size:15px;--gs-type-five-lineheight:24px;--gs-colorone:#2184f9;--gs-colortwo:#e90000;--gs-colorthree:#2adb32;--gs-colorfour:#696cff;--gs-colorfive:#ff9800}@font-face {font-family: "Fahkwang";src: url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_1/woff2/fahkwang-regular-webfont.woff2) format("woff2"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_1/woff/fahkwang-regular-webfont.woff) format("woff"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_1/ttf/Fahkwang-Regular.ttf) format("truetype");font-display: swap;}@font-face {font-family: "Montserrat";src: url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_2/woff2/montserrat-regular-webfont.woff2) format("woff2"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_2/woff/montserrat-regular-webfont.woff) format("woff"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_2/ttf/Montserrat-Regular.ttf) format("truetype");font-display: swap;}@font-face {font-family: "AdventPro";src: url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_3/woff2/adventpro-regular-webfont.woff2) format("woff2"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_3/woff/adventpro-regular-webfont.woff) format("woff"), url(https://nuevo.elgraneroverde.es/wp-content/uploads/GreenShift/fonts/font_3/ttf/AdventPro-Regular.ttf) format("truetype");font-display: swap;} </style>
Exploring Greenshift source code I have found 3 javascript files whch import Google Fonts and make the website result positive to the check (https://fontsplugin.com/google-fonts-checker/).
What’s puzzling me is that Greenshioft block have the option to use Local Fonts and in the settings I can upload the fonts I want to use, so why your javascript import Google Fonts anyway?
Do you plan to solve this in future updates? And what do you suggest to solve the issue?
Thank you so much for your help
The page I need help with: [log in to see the link]
- The topic ‘Google Fonts imported anyway’ is closed to new replies.