Notifications
Clear all

wpForo 1.x.x [Solved] Hide timestamp widget

7 Posts
3 Users
1 Likes
1,176 Views
Posts: 349
Topic starter
(@danniee)
Honorable Member
Joined: 4 years ago

Hi,

Is there a way to hide the time stamp (xx hours ago) in the latest topics widget?

Thank you

Topic Tags
6 Replies
Alvina
Posts: 1869
Moderator
(@alvina)
Member
Joined: 4 years ago

Hi @danniee,

Please try following CSS code:

#wpforo #wpforo-wrap span {
display: none !important;
}

The CSS code should be added in the Dashboard > Forums > Settings > Styles admin page " Custom  CSS Code" textarea.

In any case please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

Posts: 349
Topic starter
(@danniee)
Honorable Member
Joined: 4 years ago

Hi, thank you for the reply. I tried it, but did not work. No changes happened whatsoever to the Recent Topics widget. I refreshed several times, cleared cache and also deactivated Cloudflare. Any other suggestions?

1 Reply
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1247

@danniee

try

#wpforo #wpf-widget-recent-replies .wpforo-list-item-right p.postuser span, #wpf-widget-recent-replies .wpforo-list-item-right p.postuser span {
display: none !important;
}
Posts: 349
Topic starter
(@danniee)
Honorable Member
Joined: 4 years ago

Thank you! This removed the time stap, but it leaves a comma after the username. Is there any way to remove it?

 

Much appreciated.

1 Reply
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1247

@danniee

ok use this code instead of the one above

#wpf-widget-recent-replies .wpforo-list-item-right p.postuser{font-size:12px; padding:0; margin:0; line-height:16px; color:transparent !important;}
#wpforo #wpf-widget-recent-replies .wpforo-list-item-right p.postuser::before,
#wpf-widget-recent-replies .wpforo-list-item-right p.postuser::before {content:"By"; color:#000000; margin-right: -15px;}

 

Posts: 349
Topic starter
(@danniee)
Honorable Member
Joined: 4 years ago

Perfect! Thank you so much for your kind help and patience!