DateTime css

DSF

Well-known member
I think I'm blind :oops:


Where can I find the css for datetime? It shall have the same color/deco etc. as the name before and threadtitle behind.


Thanks

1.webp
 
Presumably this is on the What's New page?

Look in the find_new_threads template and the associated thread_list_item template, the faint CSS class on this line:

<a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a><xen:if is="{$showForumLink}">,
 
  • Like
Reactions: DSF
The date/time section is being styled by the 'faint' class by virtue of being surrounded by <a class="faint"> (and therefore matches the selector .faint a as mentioned by Brogan above).

In order to have it appear the same as the username and forum title, you must either remove the class="faint" from the surrounding <a> tag, or re-specify the colour in the CSS, like this:
Code:
.discussionListItem .posterDate .DateTime
{
	color: @mutedTextColor;
}
 
Top Bottom