Loading Google font in HTTPS, content being blocked
Edit your theme replacing every occurence of http://fonts.googleapis.com/...
with https://fonts.googleapis.com/...
(mind the s).
Resources that might pose a security risk (such as scripts and fonts) must be loaded through a secure connection when requested in the context of a secured page for an obvious reason: they could have been manipulated along the way.
Just use a //
prefix. (instead of http[s]://
)
- On an https page, the secure version wil be loaded.
- On on a plain http page, the plain http version will be loaded.
Edit your theme replacing every occurence of http://fonts.googleapis.com/...
with //fonts.googleapis.com/...
let the browser handle all the things just remove 'http' from your reference.
likewise you have to do for other libraries also if you are facing same problem with them e.g.
https://fonts.googleapis.com/css?family=Open+Sans:700,600,800,400
to
//fonts.googleapis.com/css?family=Open+Sans:700,600,800,400
same for
http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css
to
//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css