Changing fonts-style as a amateur

Hi all,
I’m looking to change my fonts-style in Logseq on my Windows Computer.
I read in to it but I didn’t find a solution where I understand it.
I’d like to change my fonts-style to Inter (a google font) which is available online. There are solutions like “just change your custom.css to “font-style: inter”” or the same and add “source:” in to it. I’m really lost at the moment. Additionally I’d like to add a glowing effect around page-references. Is this possible?

Thanks in advance for your help!
Cheers!

You can do this but it can become complex if you want to style only parts of the text.

Here is a sample that uses the Inter font everywhere.

Go to Settings → individual theme. It will mention custom.css

Initially this will be empty. Paste the following into it

@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
 font-family: 'Inter', sans-serif;
}

What this does is

  • import the font from Google
  • use it everywhere (the body)

If you want the font only for some elements like headings you need to find out the css element name which can take time.

E.g. you need to know what the name for page references is to add a glowing effect.

Hope this helps

2 Likes

thanks @bassmann!
Can you explain me how you get the link (fonts.googleapis.com)?
:slight_smile:

Found it already, thanks!

1 Like