Notifications
Clear all

wpForo 1.x.x [Closed] Hide display name and time ago in Recent Topics Widget

3 Posts
2 Users
0 Reactions
1,088 Views
Posts: 14
Topic starter
(@quizzical)
Eminent Member
Joined: 6 years ago

Hi Support:

I am using WP Foro along with Elementor. I am using the WP Foro Recent Topics Widget. I would like to display the Question, but I think I would like to conceal the display name and the time ago within the widget. Is there a snippet or some CSS that I can use to hide that information within the widget?

To be clear, I do not want to conceal this information in the Q&A forum itself. Just within the widget.

Thank you.

2 Replies
Sofy
Posts: 4802
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @quizzical,

Try the follopwing CSS code: 

#wpf-widget-recent-replies .wpforo-list-item-right p.postuser {
display: none;
}

The CSS code should be added in Top Black Admin Bar > Customize > Additional CSS textarea.

Please delete all caches and press Ctrl+F5 (twice) on that page.

Posts: 14
Topic starter
(@quizzical)
Eminent Member
Joined: 6 years ago

Thank you Sofy.

I added this to the "custom css" area within the elementor widget. It seems to be working fine. 

#wpf-widget-recent-replies .postuser {
display: none;
}

I have an additional question. How can i reduce the spacing between the topic titles that are displayed within the widget. Can you help me to identify the proper element and css for that?

Thank you.