Position of the sidebar

116 views
Skip to first unread message

Luis Gonzalez

unread,
Jun 4, 2017, 6:16:05 AM6/4/17
to TiddlyWikiDev
Is there any way to put the sidebar on the right?

I found the $:/core/ui/SideBarLists tiddler and the tc-sidebar-lists tag, but I can't found the right position option.


Mat

unread,
Jun 7, 2017, 1:32:31 PM6/7/17
to TiddlyWikiDev
On Sunday, June 4, 2017 at 12:16:05 PM UTC+2, Luis Gonzalez wrote:
Is there any way to put the sidebar on the right?

I'm guessing you mean "left".

I intend to give a presentation on CSS in TW in the TW meetup this weekend. I think the presentations are to be broadcasted live or at least recorded. I will present a way to do what you ask for, even if it will only be the general idea.

<:-)

Luis Gonzalez

unread,
Jun 9, 2017, 2:16:59 AM6/9/17
to TiddlyWikiDev
Yes, I mean left.
How can I access this presentation?


I am actively studying tiddlywiki. Thanks for this support!!

Mat

unread,
Jun 12, 2017, 6:04:46 AM6/12/17
to TiddlyWikiDev
Luis, there wasn't enough time for my CSS presentation in the meetup. I will post a link to it on the boards instead, and possibly make a video on my own at some point, but for your specific question here's that rough outline I mentioned above:

Basically, the page consists of these elements with their respective style classes:
  • $:/core/ui/PageTemplate/topleftbar
    tc-topbar tc-topbar-left
  • $:/core/ui/PageTemplate/toprightbar
    tc-topbar tc-topbar-right
  • $:/core/ui/PageTemplate/sidebar
    tc-sidebar-scrollable
  • $:/core/ui/PageTemplate/story
    tc-story-river

So you just reposition these by modifying their css classes. Here is a demo example, in the presentation.

<:-)
Reply all
Reply to author
Forward
0 new messages