how to hide time

Roland

Well-known member
Registered
Joined
Sep 19, 2022
Messages
89
Points
8

Reputation:

Blok.png


Blok.png


Blok.png

want to disable
 
Last edited by a moderator:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

one_finger_man

Well-known member
Registered
Joined
Jan 20, 2022
Messages
415
Points
53

Reputation:

here is the codes for what you are looking to do i just found them it only works for the topic not on the homepage

add to extra less
HTML:
.structItem-parts>li:nth-child(even) {
    display:none;
}
.structItem-parts .structItem-startDate {
    display:none;
}
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

here is the codes for what you are looking to do i just found them it only works for the topic not on the homepage

add to extra less
HTML:
.structItem-parts>li:nth-child(even) {
    display:none;
}
.structItem-parts .structItem-startDate {
    display:none;
}
one_finger_manthis seems not to work
 
View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

RolandTo not display the date on the conversation list overview:
Blok.png


Less:
[data-template="conversation_list"]
{
    .structItem-latestDate {
        display:none;
    }
}

Or much better are template modifications:

TEMPLATE: conversation_list_macros
FIND:
Code:
<xf:date time="{$userConv.last_message_date}" class="structItem-latestDate" />
REPLACE:
Code:
{{phrase('latest')}}

Blok.png

TEMPLATE: conversations_popup
FIND:
Code:
                        <xf:date time="$userConv.Master.last_message_date" />
REPLACE: with nothing

Blok.png

TEMPLATE: conversation_view
FIND:
Code:
                <dl class="pairs pairs--justified"><dt>{{ phrase('last_reply_date') }}</dt> <dd><xf:date time="$conversation.last_message_date" /></dd></dl>
REPLACE: with nothing
 
Top