To do so you have to edit following two theme files
1 – td-config.php (located in themes includes folder)
2 – style.css
Remove the following code from td-config.php
/**
* the default fonts used by the theme. For a list of fonts ids @see td_fonts::$font_names_google_list
*/
td_global::$default_google_fonts_list = array (
'438' => array(
'css_style_id' => 'google_font_open_sans',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,600,700'
),
'521' => array(
'css_style_id' => 'google_font_roboto',
'url' => td_global::$http_or_https . '://fonts.googleapis.com/css?family=Roboto:500,400italic,700,900,500italic,400,300'
),
);
Refer – http://prntscr.com/cgub4l
Now edit style.css file
replace: font-family: 'Open Sans', arial, sans-serif;
with font-family: Verdana,Geneva,sans-serif
and
replace: font-family: 'Roboto', sans-serif;
with font-family: Verdana,Geneva,sans-serif
That’s it. Upload both files and clear cache and browser cookies to check result.
-
This reply was modified 9 years by
Amit.
Method 2
Download your required fonts and convert them to .woff using online tool https://www.fontsquirrel.com/tools/webfont-generator
Next copy the font file on your server, place it inside a folder and make sure you have read permissions enabled for that folder and the files included in it. (Please make sure the folder property is not market as Read Only.)
Next, go to Theme Panel > Theme Fonts > Custom Font Files:
1- Add the link to your custom font in the required area.
2- Specify a name for your custom font.
3- Open the panel where you want to apply the newly set custom font and select it from the drop-down list.
4- Save the settings.
