Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194844

    The fonts of our website change when our site is opened in Firefox and IE amongst others. This started after installing HTTPS / SSL.

    After some research I found out that SSL blocks some (Google) fonts because it sees them as unsafe. How can I change this?

    Kind regards,

    Pim

    #195049

    Hey eric_peeters!

    The font url should change from http to https automatically. Edit framework > php > class-style-generator.php, find this code on line 186:

    $prefix = "http";
    			if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') $prefix = "https";

    Replace it with:

    $prefix = "https";
    			if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') $prefix = "https";

    Cheers!
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.