> How to change the date color on the tiddlers

Hi TW-User,

as you can explore, the generated date is defined in the ViewTemplate
tiddler in the line

<div class='subtitle'><span macro='view modifier link'></span>, <span
macro='view modified date'></span> (<span macro='message
views.wikified.createdPrompt'></span> <span macro='view created
date'></span>)</div>

oh, let it be some lines:

<div class='subtitle'>
 <span macro='view modifier link'></span>,
 <span macro='view modified date'></span>
 (<span macro='message views.wikified.createdPrompt'></span>
 <span macro='view created date'></span>)
</div>

what you want is to change the styling of the spans 2-4 (they define
the grey text of date etc). Since they have no class, you should
change the style inside the template, like this:

<div class='subtitle'>
 <span macro='view modifier link'></span>,
 <span style="color:red;" macro='view modified date'></span>
 (<span style="color:red;" macro='message
views.wikified.createdPrompt'></span>
 <span style="color:red;" macro='view created date'></span>)
</div>

The style="color:red;" is what you want (just change "red" to the
color you want). However, I'd recoment not to copy the multiline thing
I've written but rather add style="color:red;" things in appropriate
places (and let us know whether this worked right).

Although, this looks bulky. You can try another method: add

.subtitle { color: red; }

to your CSS. This shouldn't affect the

<span macro='view modifier link'></span>

part, so it would be more convenient.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to