XF 2.1 How to hide Threads and Messages count on main forum list

influence

Member
I recently open up my forum to the public and at the moment the forum does not have that many threads and post. However, I dont want visitors to see the main page and notice those low counts especially with mostly zeros. I will like for to have an addon that will remove both those fields at the moment. An addon that will also allow me to disable such feature soon as my forums becomes active. At the moment I do not want the Threads and Messages count to show on the main forum list
 
If anybody else comes across this thread....
Code:
/* Suppress Stats */
.node-stats,
.node-meta {
    display: none !important;
}
The .node_stats is for the columns displayed on wide screens, the .node-meta is for the row displayed on small screens. Put the above in your extra.css extra.less template.
 
Last edited:
I use this add-on:

 
any help for if I only don't want the stats to display in a specific node?
Wrap the code above in the "node" ID identifier. For example, if you only want to suppress the stats for node ID #5 then it'd be the below.
Code:
.node--id5
{
    .node-stats, 
    .node-meta {
        display: none !important;
    }
}
 
Back
Top Bottom