Thank you Stephan. I used following code

div.tc-search {
    position: fixed;
    top: 0px;
    left: 300px;}
div.tc-page-controls {
    position: fixed;
    top: 0px;
    left: 0px;}
div.tc-sidebar-header h1.tc-site-title,div.tc-sidebar-header 
div.tc-site-subtitle {
    display:none;}

My intention was to *keep the page controls and search always visible, even 
if sidebar is collapsed*. It seems my approach is wrong. The page control 
and search bar has moved to the top but they disappear when I hide the 
sidebar.

Not sure it is possible or not. Perhaps I will have to override the shadow 
tiddlers that Tony mentioned.

On Sunday, September 16, 2018 at 3:07:37 AM UTC+5, Stephan Hradek wrote:

This is ugly but to give you a starting point:
>
> You can use CSS. Create a new tiddler tagged with $:/tags/Stylesheet
>
> Then insert
>
> div.tc-search {
>     position: fixed;
>     top: 0px;
>     left: 0px;
> }
> div.tc-page-controls {
>     position: fixed;
>     top: 0px;
>     right: 0px;
> }
> div.tc-sidebar-header h1.tc-site-title,
> div.tc-sidebar-header div.tc-site-subtitle {
>     display:none;
> }
>
>
>
> ​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d03ef566-ce96-4e1e-860b-f968f53ba912%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to