CSS for Expandable Table of Contents

60 views
Skip to first unread message

Damon Pritchett

unread,
Jan 25, 2019, 12:43:51 AM1/25/19
to TiddlyWiki
Greetings,

I'm wanting to tweak the styling of the expandable table of contents (maybe TOC in general), but I'm having trouble figuring out what elements I need to tweak. I'm looking to change the text sizes and line spacings for each level of the TOC. I've spent a bit of time looking, but can't seem to quite find what I'm looking for. Maybe it's because I'm doing this when I'm too tired......

Damon

TonyM

unread,
Jan 25, 2019, 2:05:48 AM1/25/19
to TiddlyWiki
Damon,

I believe the best approach is to make a TOC that you can see, then use your browsers developer tools > Inspect and looks for the classes named. You can then use your own style-sheets or even inline styles to change. Basically you use CSS.

It is not a good thing to do when tired, it can be frustrating.

Best of luck

Damon Pritchett

unread,
Jan 25, 2019, 1:27:35 PM1/25/19
to TiddlyWiki
Thanks so much Tony - that's definitely the way to go. That's not second nature to me, but it will be from here on out. And you're right - definitely should not be doing things like that when I'm tired. That's how mistakes happen.

Damon
Reply all
Reply to author
Forward
0 new messages