-
AuthorPosts
-
July 25, 2013 at 6:52 pm #26740
Hi!
I need to change the link under <!– google webfont font replacement –> in <head>:
<link id=”google_webfont_1″ rel=”stylesheet” type=”text/css” href=”http://fonts.googleapis.com/css?family=Open+Sans:400,600″ />
to
<link href=’http://fonts.googleapis.com/css?family=Open+Sans:400,600,700&subset=latin,latin-ext’ rel=’stylesheet’ type=’text/css’>
Where can I do it? (Or -> I need to use Open Sans, 400,600,700 and latin-ext) Tried many solutions from this forum, but they did not work. My hardcode solution works pretty well (Chrome Developer mode – tried) but I do not know where to change this part of code…
Best regards
Daniel
July 26, 2013 at 7:46 pm #131446Hi!
Please read https://kriesi.at/support/topic/add-a-larger-google-font and https://kriesi.at/support/topic/google-fotns-with-extended-latin-subset
Regards,
Peter
July 28, 2013 at 7:02 am #131447Hi,
I have already tried that solution, it does not work.
Check Ř, Š, etc. characters on http://aetherdesign.cz
And there is still <!– google webfont font replacement –>
<link id=”google_webfont_1″ rel=”stylesheet” type=”text/css” href=”http://fonts.googleapis.com/css?family=Open+Sans:400,600″ /> in code.
Also, with latest update, all the animations stopped working.
July 29, 2013 at 7:16 am #131448I noticed that you maybe need to add the code at the very top of functions.php. Replace
<?php
global $avia_config;with
<?php
global $avia_config;
add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
function avia_add_heading_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,600&subset=latin-ext';
return $fonts;
}
add_filter( 'avf_google_content_font', 'avia_add_content_font');
function avia_add_content_font($fonts)
{
$fonts['Open Sans'] = 'Open Sans:400,600&subset=latin,latin-ext';
return $fonts;
}and it should work. Please don’t forget to save the theme options again.
2) The animations don’t work because some files are missing on your server – please re-upload/re-install the theme. Chrome reports
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/prettyPhoto/css/prettyPhoto.css?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/mediaelement/skin-1/mediaelementplayer.css?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/mediaelement/mediaelement-and-player.min.js?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/avia-compat.js?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/avia.js?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/shortcodes.js?ver=1
Failed to load resource: the server responded with a status of 404 (Not Found) http://aetherdesign.cz/wp-content/themes/enfold/js/prettyPhoto/js/jquery.prettyPhoto.js?ver=3.1.5July 29, 2013 at 10:40 am #131449Everything works perfect now!
Manky thanks!
-
AuthorPosts
- The topic ‘Where to change google webfont font replacement?’ is closed to new replies.