Skip to main content

Fix font loading over https

ยท One min read

Unfortunately, several of the Morea "cerulean" style themes (i.e. cerulean_green, cerulean_red, etc.) were loading the Open Sans font using the http: protocol. Now that GitHub uses https: by default, sites built using those themes were not displaying the Open Sans font correctly when retrieved from a github.io domain. (Instead, the Open Sans font fails to load and the site falls back to the use of the Times Roman font.)

We just published a fix to these themes in the core repo so that Open Sans will be loaded correctly regardless of the protocol (http: or https:) used.

To get the fix, cd into your Morea top-level directory, then invoke the morea-merge-upstream.sh script to incorporate the corrected code into your local copy of these themes.

Then republish your site and all should be well.

Other themes (SuperHero, SpaceLab, etc.) did not have this bug and so you should not have noticed this problem if you were using them.

Our apologies for the inconvenience!