Changing font size, what are the proper Custom CSS to use?

What do you need help with?

I don’t get how changing the font-size (a very basic accessibility thing) is not a default settings parameter. However let’s assume I want to use Custom CSS, great. Which should be the ones to use? I’ve searched the forum, the github issues, nothing.

The closest I’ve gotten is with:

.blocks {
    --font-size-paragraph: 18px !important;
}

But again this is not what I want, because headings are not properly re-scaled (they should be like 1.3em or whatever). I’ve tried using body font-size but it does nothing as the default value it’s set as !important internally.

Really, why there isn’t a simple Ctr+ and Ctrl- or something like that, a simply ability to choose how big or small the UI looks.

Any help will be appreciated.

OS

Windows 11

Anytype Version

v0.57.4

Network Mode

Local-only

Technical Information

I think the question is quite straightforward.

Nevermind, I’ve found the solution. I realized Ctrl - and Ctrl + did actually exist. The reason I though they didn’t was because another issue of anytype related to keyboard shortcuts not handling other non-american keyboard correctly. The Ctrl + did nothing but Ctrl - did!

At the end to manage my Ctrl + physical spanish keyboard shortcut be mapped to the zoom in I had to export the shortcut.json, put there “Ctrl” “=” and then save it. Now Ctrl+ and Ctrl- work as one would expect.

Welcome to Anytype @Mapaor :waving_hand:
Great that you have found ways to manage your note-taking needs.

In case you still need some information on CSS:

Your observations to keyboard issue are true to German as well, see bug report:

Thank you for all the information!

One thing, is there any way to still change the font-size? Because zoomin in or out also changes the layout (for example a page with 2 columns, those columns get closer to each other) and I just want to change the font size to make it slightly bigger.

Not at the moment.. it is a highly requested feature request though..