Font is thinner in editor mode than in preview mode. How do I change that?

depends on which built-in weights your font has, you can try smaller values: font-weight: 500;
and 400, 300, 200, 100

1 Like

Dears!

Without any doubt, I am lost in this css thingy :slight_smile:

What I would like to achieve is (using the light version of red graphite theme is: I want to increase the size of normal font from 16px to 18px. So that it is in this size in every single vault I have for every note, in edit or previe mode. This is just, because I am old and need bigger fonts to be able to read my own shit.

So guys pleas help me to understand in which css file I have to do the magic and where to store it. Currently, I am having a css file in every vault - is this the place to change values? Or is it somewhere else? In the root directory there is no css file, only in the vaults.

Thanks for your support guys!
Peter

@nathschlaegeryou cannot have 1 css file for all your vaults, you nedd 1 for each vault. So, you’ll have to adjust the font in each css file.

Hi!

Thanks for your response. I did that. My folder structure is like \Obsidian\vault1. I have sic vaults (working on re-arranging that and copied the obsidian.css into every vault and changed the font-size from 16px to 18px. Obsidian does not care about that.

I strongly assume this has something to do with settings which I might have not fully understood by now :slight_smile:
Thanks,
Peter

@nathschlaeger: in Settings, tab Appearance, have you enabled Custom CSS?

Hey Klaas!

yes I have.

Thanks
Peter

@nathschlaeger: did that change anything?

Sorry for my short answer before. No, it did not change anything.
Probably the issue is being caused by having Obsidian on my Win10 desktop as well as on my MacBook Air? And the setting on one device are overwritting the settings on the other one?

Cheers,
Peter

Hi!

I have started to re-arrange all my notes and vaults to have all notes in directories in one vault with only one file folder for the attachments. When I am done with that, I will come back to the question how to manipulate the css file, that I can increase the font size for my vault for edit and preview!

Thanks!
Peter