Notifications
Clear all

wpForo 1.x.x [Solved] User profile

4 Posts
2 Users
1 Likes
1,425 Views
Posts: 73
Topic starter
(@srtalop)
Estimable Member
Joined: 5 years ago

Hi team,

Is it possible to hide from the user´s profile the "questions and answers" as we are not planning to use the question template? Thanks in advance.

3 Replies
Sofy
Posts: 4309
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @srtalop,

Please navigate to Dashboard > Forums > Settings > Styles admin page, put the following code in "Custom CSS Code" textarea, save it, delete all caches, do CTRL+ F5 on frontend:

.wpf-statbox.wpfbg-9:nth-child(4) {
display: none !important;
}

.wpf-statbox.wpfbg-9:nth-child(3) {
display: none !important;
}
Posts: 73
Topic starter
(@srtalop)
Estimable Member
Joined: 5 years ago

Hi, the "answers" tile was hidden, but not the "questions" one. Thanks.

Sofy
Posts: 4309
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi srtalop,

The same principle for each item. In this case, CSS code to hide this item is:

.wpf-statbox.wpfbg-9:nth-child(5){
display: none !important;
}

You can find all classes by pressing F12 on the browser and opening Chrome or Firefox Console: