• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

DateTime css

DSF

Well-known member
#1
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.jpg
 

Brogan

XenForo moderator
Staff member
#2
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}">,
 

Kier

XenForo Developer
Staff member
#3
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;
}