HTTPS

Permalink 1 user found helpful
I'm new to HTTPS so my hosting provider has instaled certificate and configured my htaccess correctly but Ive got a problem with the CSS.

My fonts are not displaying correctly and has found its to do with google fonts and CSS not being loaded over HTTPS.
It's requesting an insecure stylesheet 'http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900'. This request has been blocked; the content must be served over HTTPS.

Can anyone help with this please?

deanhawthornthwaite
 
hutman replied on at Permalink Reply
hutman
You'll need to update your site's theme files. Normally this is in /packages/package_name/themes/theme_name/inc/header.php or something similar, there is usually a directory within the theme_name directory that contains a header.php that will have those font calls, you just need to remove the http:
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
thanks hutman, your instructions were exactly right! Changing http to https in the code did the trick. Crazy eh, just one character in the code makes all the difference!