Lines 121 & 123 of the wp-back-button.php file register the styles to enqueue the google fonts. Because they are coded as http:// if the site is setup on https:// the browser may not load the scripts or label the reference to the CSS as unsafe.
Ideally this would load over http and https without any issues and based on how the site was requested.
If changed to:
wp_register_style( ‘googleFonts1’, ‘//fonts.googleapis.com/css?family=Cabin:400,500,600,bold’);
wp_register_style( ‘googleFonts2’, ‘//fonts.googleapis.com/css?family=PT+Sans+Narrow:regular,bold’);
This way the protocol will be inherited from how the site was loaded instead of always being http.
- The topic ‘Loading Google Fonts’ is closed to new replies.