XF 2.0 How can I add "Latest:" and "By:" in front of text in this location?

#1
Probably easy to do but another Ape newbie question.

How can I in Forums add the texts from the tittle in this ↓ location.



Any help is highly appreciated :) :X3:
 

Jordyn

Formerly EvilSS
#7
Try this as a last resort:
in template: node_list_forum
search
Code:
<li class="node-extra-user"><xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" /></li>
Place a <br> after <li class="node-extra-user">
So the code would be:
Code:
<li class="node-extra-user"><br><xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" /></li>
maybe.jpg
 

S Thomas

Well-known member
#8
I think the only thing he wants is a ::before content.

CSS:
.structItem-cell.structItem-cell--latest::before {

    content: "Latest: ";

}

.structItem-cell.structItem-cell--latest > .structItem-minor::before {

    content: "By: ";

}
 
#10
I think the only thing he wants is a ::before content.

CSS:
.structItem-cell.structItem-cell--latest::before {

    content: "Latest: ";

}

.structItem-cell.structItem-cell--latest > .structItem-minor::before {

    content: "By: ";

}
Thanks,.This came very close But, ↑ that is the thread list, I want to achieve this in the forum list like the way in my screenshot.

Oh dear god, i read wrong lol. Sorry guys.
Gheghe NP at all man.
 

S Thomas

Well-known member
#11
It's similar for forum list, just press right click > inspect element on date, it will show you the date class. Take this instead of
.structItem-cell.structItem-cell--latest

And then inspect on user name. Take that class instead of
.structItem-cell.structItem-cell--latest > .structItem-minor
 
#12
It's similar for forum list, just press right click > inspect element on date, it will show you the date class. Take this instead of
.structItem-cell.structItem-cell--latest

And then inspect on user name. Take that class instead of
.structItem-cell.structItem-cell--latest > .structItem-minor
Aight, I think I got it done.

It's
.node-extra-date::before {
and
#js-XFUniqueId1::before {
Right?

Edit: the second one is wrong for sure, I got the word by popping up on places it shouldn't belong
 
Top