Notifications
Clear all

wpForo 1.x.x [Solved] CSS to remove footer stats element

3 Posts
2 Users
1 Likes
1,222 Views
Posts: 124
Topic starter
(@cmw14)
Estimable Member
Joined: 7 years ago

Hi, would any kind member know what CSS code would be to required to remove the "Online" and its number element, from displaying in the forum footer statistics.

 

2 Replies
Sofy
Posts: 4233
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @cmw14,

Use the following CSS code if you want to hade the "Online members" section. 

#wpforo #wpforo-wrap #wpforo-stat-body .wpf-stat-item:nth-child(4) {
display: none;
}

The CSS below allows you to center elements in the statistic.

#wpforo #wpforo-wrap #wpforo-stat-body .wpf-stat-data {
display: flex;
justify-content: center;
}

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

Please don't forget to delete all caches before checking. 

Posts: 124
Topic starter
(@cmw14)
Estimable Member
Joined: 7 years ago

Wonderful, thanks very much Sofy 👍