How-to and Troubleshooting
6
Posts
5
Users
1
Reactions
3,226
Views
5 Replies
Jun 30, 2017 6:31 am
Only CSS. Put this code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea. Then delete all caches and do Ctrl+F5 on forum front. Note, only use the line you want to disable, there are 10 boxes and 10 CSS lines:
/* Posts */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(1){display:none;}
/* Topics */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(2){display:none;}
/* Questions */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(3){display:none;}
/* Answers */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(4){display:none;}
/* Question Comments */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(5){display:none;}
/* Liked */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(6){display:none;}
/* Received likes */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(7){display:none;}
/* Rating */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(8){display:none;}
/* Blog Posts */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(9){display:none;}
/* Blog Comments */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(10){display:none;}
Jun 30, 2017 7:24 am
Thank you once again, works great 🙂
May 13, 2019 8:12 pm
Thank you. What is the specific code to disable these boxes:
- website
- occupation
- social networks
- location
- timezone
Thanks!
May 14, 2019 11:20 am
Hi @lindyk88,
you should use the following CSS code:
.wpf-field-name-site, .wpf-field-name-occupation, .wpf-tr.row-1, .wpf-field-name-location, .wpf-field-name-timezone{
display: none !important;
}