Support » Theme: Surfarama » Please change to https for Google Fonts call

  • Dear developers of the theme,

    One of my websites has been using (a child theme based on) the excellent Surfarama theme as parent theme for years now. I still think it is a great theme and suits our community’s needs just fine.

    However, each time after a parent theme update, my site ends up with an invalid SSL ‘mixed content’ situation because the Surfarama theme loads some Google Fonts assets by http instead of https.

    In the Surfarama theme’s styles.css at the top some Google fonts are loaded directly from within the css:

    @import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,700);
    @import url(http://fonts.googleapis.com/css?family=Open+Sans:800);

    A quick fix would be:
    @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,700,800);

    This should work just fine for sites that are served over http instead of https.

    Thanks!
    Sander

  • The topic ‘Please change to https for Google Fonts call’ is closed to new replies.