Hi,
I followed the instructions from here many times, carefully, but Google fonts simply aren’t loading on my Obsidian Publish site. What could possibly be wrong?
Here is what’s at the top of my publish.css
file:
@import url('https://fonts.googleapis.com/css?family=Merriweather&display=swap');
.published-container {
--font-text-theme: 'Merriweather';
--page-title-font: Courier;
--page-title-color: #FF8C00;
--page-title-size: 200%
}
That is, I wish to use the font Merriweather as the main text font on my site. However, it refuses to load – as do all other Google Fonts I tried. (For example, swap Merriweather
for Lemon
– my Obsidian Publish site still loads with the default font.)
The publish.css
file itself does work, because the Courier
, #FF8C00
and 200%
are all respected and reflected on the site.
Thank you for any help with this.