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

XF 1.5 Position of Posting Date/Time

vFranky

Active member
#1
Hello,

the position of date/time of the posting is per default at the end of each posting. Our users don't like this and would prefer to have at the top of the posting instead. Is there an option?

Thank you in advance!

Kind regards,
Frank
 

Sunka

Well-known member
#2
I solved this way...

Add this in Extra.css

Code:
.messageUserInfo abbr,
.messageUserInfo span.DateTime {
    position: relative;
    padding: 5px 10px 5px 10px;
    line-height: 16px;
    display:block;
    font-size: 10.5px;
}

.messageUserBlock .arrow span {
    border-left-color:#d7edfc !important;
}
And in template mesage_user_info
Find this:
Code:
<xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
After that insert:
Code:
<xen:datetime time="$post.post_date" />
 

vFranky

Active member
#4
Do I have to edit the Extra.css directly? Or is there a way to do it within XenForo?

@XenForo: Would be fine to have a toggle inside XenForo configuration for this option.