Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
remove Google fonts
Home / Forums / Virtue Theme / remove Google fonts
- This topic has 9 replies, 2 voices, and was last updated 7 years, 12 months ago by
Ben Ritner.
Hi there,
i tested on a local server (MAMP) to remove (replace the goole fonts (the european General Data Protection Regulation (GDPR)).
I relaxed all themes fonts (like railway) with systemfonts like Arial, Helvetica,sans-serif.
It works and there is no reference to fonts.googleapis.com
but now want to use still for example the font railway, but ist should load from my local server. Downloaded and converted the font to web fonts and loaded into a directory named fonts.
the custom CSS contains:
/* raleway-regular – latin */
@font-face {
font-family: ‘Raleway’;
font-style: normal;
font-weight: 400;
src: url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.eot’); /* IE9 Compat Modes */
src: local(‘Raleway’), local(‘Raleway-Regular’),
url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.woff’) format(‘woff’), /* Modern Browsers */
url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘http://localhost:8888/Arnold-objekte/fonts/raleway-v12-latin-regular.svg#Raleway’) format(‘svg’); /* Legacy iOS */
}
/* raleway-regular – latin-ext_latin */
@font-face {
font-family: ‘Raleway’;
font-style: normal;
font-weight: 400;
src: url(‘fonts/raleway-v12-latin-ext_latin-regular.eot’); /* IE9 Compat Modes */
src: local(‘Raleway’), local(‘Raleway-Regular’),
url(‘fonts/raleway-v12-latin-ext_latin-regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘fonts/raleway-v12-latin-ext_latin-regular.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘fonts/raleway-v12-latin-ext_latin-regular.woff’) format(‘woff’), /* Modern Browsers */
url(‘fonts/raleway-v12-latin-ext_latin-regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘fonts/raleway-v12-latin-ext_latin-regular.svg#Raleway’) format(‘svg’); /* Legacy iOS */
}
but chrome shows always a link to font.googleapis.com
/* latin-ext */
@font-face {
font-family: ‘Raleway’;
font-style: normal;
font-weight: 400;
src: local(‘Raleway’), local(‘Raleway-Regular’), url(*Login to see link format(‘woff2’);
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: ‘Raleway’;
font-style: normal;
font-weight: 400;
src: local(‘Raleway’), local(‘Raleway-Regular’), url(*Login to see link format(‘woff2’);
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
so something went wrong and i don’t have any idea
- The forum ‘Virtue Theme’ is closed to new topics and replies.


