This topic has 12 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp
Hello, I have problem with google fonts. Chrome console gives “GET http://fonts.googleapis.com/css 400 (Bad Request)” How can I fix this problem?
Hello,
Did you add fonts via some third-party plugin?
Regards,
Robert Hall.
No, don`t have plugins that use fonts.
I have same package of plugins on other site, different just theme, and all works fine.
Please provide us with wp-admin credentials in Private Content.
Regards,
Robert Hall.
Ok.
Sorry, but this credentials are incorrect.
Regards,
Robert Hall.
Sorry, wrong login name.
The problem is in unfinished link to font.
Try to read this topic.
http://wordpress.org/support/topic/get-httpfontsgoogleapiscomcss-400-bad-request
Regards,
Robert Hall.
I have found http://fonts.googleapis.com/ only in et-styles.php and changed
<link href=’http://fonts.googleapis.com/css?family=<?php echo $font_src; ?>’ rel=’stylesheet’ type=’text/css’/>
On
<link href=’http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic’ rel=’stylesheet’ type=’text/css’>
This did not help (
What other file should I modify to fix this?
Also, when I switch to Twenty Fourteen Theme or any other, the problem disappears.
Please provide us with FTP credentials in Private Content to look on this issue more deeply.
Regards,
Robert Hall.
FTP credentials
Hello,
400 errors are a temporary disconnect between the browser and the website or data source. It could be as simple as a cache issue. We recommend you to clear any cache plugin, and if you don’t have one, clear the browser’s cache. The request sent by your browser to the server is essentially malformed, which can result from an incomplete request, such as an interruption of some kind, ultimately resulting in the call upon the server being incomplete. Since the font is called from yet another server, it seems possible that the call could be coming from your server to Google’s — which indicates it may be cached.
Regards,
Eva Kemp.
The issue related to '‘GET http://fonts.googleapis.com/css 400 (Bad Request)’' has been successfully resolved, and the topic is now closed for further responses