Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10737

    My SSL certificate is installed correctly, but some of the content is giving Chrome trouble because its being delivered via http instead of https. Chrome developer tools seems to implicate the font function as the string it doesn’t like:

    @font-face {

    font-family: ‘Terminal Dosis';

    font-style: normal;

    font-weight: 400;

    src: local(‘Dosis Regular’), local(‘Dosis-Regular’), url(‘http://themes.googleusercontent.com/static/fonts/terminaldosis/v5/_IcvjW_kWHsIHjjUsLbdpKti5uXGbodo2Scs19s1bWs.woff’) format(‘woff’);

    }

    any tips on where I can track this down in the template so I can force it to SSL?

    #69194

    Hi gbphoenix,

    You can change the http to https in the framework>js>avia_advanced_form_elements.js file. Search for:

    avia_add_google_font: function()

    You’ll see the href link that gets added and can modify it.

    Also open up the class-style-generator.php in the php folder (inside framework) and search for:

    function google_webfont($rule)

    Do the same thing for the link inside that function (change http to https).

    Save everything and put the files back onto the server. I’ve not gone through the steps myself as I don’t have a ssl cert set up on my live server so be sure to let us know if it doesn’t do the trick (and if it does).

    Regards,

    Devin

    #69195

    Devin,

    This did the trick! Thanks so much for your help!

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

The topic ‘Google fonts causing SSL issue’ is closed to new replies.