Change theme font

I am using the Journal theme for my blog, I make posts both in English and Greek, I love the original fonts but some letters don’t render nicely in Greek.

So I want to change the fonts, I put this line <link href=",700|sans-serif:400,700" rel="stylesheet"> in default.hbs file, and this piece of code in the Code injection area {
font-family: Roboto, sans-serif;

But it doesn’t work as intended.

Hi @gexxos

This code pasted into the Code Injection should work for you:

<link rel="preconnect" href="">
<link rel="preconnect" href="" crossorigin>
<link href=";700&display=swap" rel="stylesheet">

:root {
--font-sans: "Roboto",sans-serif;
--font-serif: "Roboto Serif",serif;

Thank you @fueko that solution works, I can now have the fonts I want. I appreciate it.

1 Like