Tagged: ssl markup google-font
Sorry, but you do not have the capability to view this topic
-
- Topics: 1
- Replies: 4
- Total posts: 5
Post count: 10Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow&ver=4.4.1'. This content should also be served over HTTPS. Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans+Condensed%3A300&ver=4.4.1'. This content should also be served over HTTPS. Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:400,800,300,700'. This content should also be served over HTTPS.
there are 103 errors similar to these deleted them for better understanding
Tried changing code in framework/common/atp_googlefont.php
$out .= '<link href="'.$protocol.'fonts.googleapis.com/css?family=' . $fonts .'" rel="stylesheet" type="text/css" />'."\n\n";
to
$out .= '<link href="//fonts.googleapis.com/css?family=' . $fonts .'" rel="stylesheet" type="text/css" />'."\n\n";
according to http://wptavern.com/wordpress-tip-how-to-load-google-fonts-over-ssl-and-non-ssl
it helped me to change only one line of google font in my pages.
<link rel='stylesheet' id='css3_grid_font_yanone-css' href='//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&ver=4.4.1' type='text/css' media='all' />
still http lines are
<link rel='stylesheet' id='css3_vertical_table_font_sans_narrow-css' href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&ver=4.4.1' type='text/css' media='all' /> <link rel='stylesheet' id='css3_vertical_table_font_sans_condensed-css' href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed%3A300&ver=4.4.1' type='text/css' media='all' />
Please let me how to change them.
- This topic was modified 8 years by mellowhost.
- This topic was modified 8 years by mellowhost.