How to change the font size?

88 views
Skip to first unread message

imleg...@gmail.com

unread,
Jul 7, 2021, 11:23:49 AM7/7/21
to TiddlyWiki
https://groups.google.com/g/tiddlywiki/c/GL4ZGp3-01s/m/iAV5kUku7wMJ

I check this link, add one tiddler with tag: $:/tags/Stylesheet

and the content is 
<style>.viewer { font-size: 10em;}</style>

Reload the page the font not changed. So am I right about change the font size? 

Eric Shulman

unread,
Jul 7, 2021, 11:52:42 AM7/7/21
to TiddlyWiki
The post you referenced is VERY old and only applies to TiddlyWiki Classic (v2.x.x).  In modern TiddlyWiki (v5.x.x), you can configure the tiddler font settings using the $:/ControlPanel

1) Click on the "gear" icon in the sidebar
2) Select the "Appearance" tab
3) Select the "Theme Tweaks" tab
4) Under the "Sizes" heading, find the "Font size for tiddler body" setting and enter the desired CSS value (i.e., 10em) there.
5) You might also want to adjust the "Line height for tiddler body" setting.   I recommend using a percentage value (e.g., 120%) 

Notes:
* Changes in the $:/ControlPanel settings are applied immediately, without needing to reload the page
* Tiddlers tagged with $:/tags/Stylesheet are for defining custom CSS classes, and contain only CSS definitions without the surrounding <style>...</style> syntax.

enjoy,
-e
Reply all
Reply to author
Forward
0 new messages