Stefan,
there is an example on TW-Scripts from Mohammad.
https://kookma.github.io/TW-Scripts/#Apply%20Custom%20Styles%20Dynamically
Scot
On Thursday, 21 January 2021 at 10:24:39 UTC TW Tones wrote:
> Stefan,
>
> As a rule the Subtitle and Tags line shows on every tiddler, as I
> understand it you don't want it to show on some specific tiddlers?
>
> A quick use of the browser inspect and the following style sheet added to
> a tiddler will do this (to all visible tiddlers)
>
> <style>
> div.tc-subtitle { display: none; }
> div.tc-tags-wrapper { display: none; }
> </style>
>
> As soon as any tiddler containing the above is closed the previous
> behaviour will return.
>
> I am not so sure how to do this but defining a class in a style sheet you
> name in the tiddlers "class field", or a CSS method to target only tiddlers
> with a special tag see
> https://tiddlywiki.com/#Custom%20styles%20by%20data-tags should do it.
>
> My CSS is not strong enough but I am sure someone like TT can help.
>
> Tones
>
>
> On Thursday, 21 January 2021 at 17:55:34 UTC+11 [email protected]
> wrote:
>
>> Hello Tones,
>>
>> thanks for the hint, but that's not, what I want.
>>
>> --> for start tiddler (ToC):
>> [image: Hide_in_ToC.png]
>>
>> Thanks for feedback
>> Stefan
>> TW Tones schrieb am Freitag, 8. Jänner 2021 um 00:40:02 UTC+1:
>>
>>> Stefan,
>>>
>>> Perhaps using the emptyStory message - ie when all tiddlers are closed.
>>>
>>> https://tiddlywiki.com/#HistoryMechanism
>>>
>>> Tones
>>>
>>> On Friday, 8 January 2021 at 04:32:38 UTC+11 [email protected]
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> clicking the 'home' button I would like to have
>>>>
>>>> - the 'start' tiddler ( Default tiddler
>>>> <https://kookma.github.io/TW-Scripts/#%24%3A%2FDefaultTiddlers>
>>>> with table of content) *without header informations* (tiddler name,
>>>> creator, creation date, view tools (*except 'close'*) and tags
>>>> - toggle function for 'home' button
>>>>
>>>> Thanks for feedback
>>>> Stefan
>>>>
>>>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/bee439aa-45db-49a9-ac07-b3e424d174aen%40googlegroups.com.