Hi,
i also try to connect to the fonts locally.
First i created a Child Theme from Intensity Pro.
style.css & functions.php created, screenshot.png copied.
Worked so far.
Downloaded Roboto with the https://google-webfonts-helper.herokuapp.com/fonts.
Placed it in child-theme-folder/fonts
edited style.css like this
/*
Theme Name: Intensity Pro Child
Description: Intensity Pro Child
Author: root-solution
Author URI: http://www.me.de
Template: intensity-pro
Version: 1.0
Text Domain: intensity-pro-child
*/
/* roboto-regular – latin */
@font-face {
font-family: ‘Roboto’;
font-style: normal;
font-weight: 400;
src: url(‘fonts/roboto-v18-latin-regular.eot’); /* IE9 Compat Modes */
src: local(‘Roboto’), local(‘Roboto-Regular’),
url(‘fonts/roboto-v18-latin-regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */
url(‘fonts/roboto-v18-latin-regular.woff2’) format(‘woff2’), /* Super Modern Browsers */
url(‘fonts/roboto-v18-latin-regular.woff’) format(‘woff’), /* Modern Browsers */
url(‘fonts/roboto-v18-latin-regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */
url(‘fonts/roboto-v18-latin-regular.svg#Roboto’) format(‘svg’); /* Legacy iOS */
}
but there is also a connect in the parents function.php
<link rel=’stylesheet’ id=’intensity-gfonts-roboto-css’ href=’//fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C500%2C700&ver=4.9.6′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’intensity-gfonts-ptsans-css’ href=’//fonts.googleapis.com/css?family=PT+Sans%3A400%2C700&ver=4.9.6′ type=’text/css’ media=’all’ />
dunno what to change to 🙁