Hey I know it's out there but forgot how to remove just the "thread" count on forum list. I do have Mr. Jinx ad-on but it's conflicting with another ad on so have to do it manually. Thanks!
.node-stats dl.pairs.pairs--rows:first-child and .node-meta dl.pairs.pairs--inline:first-child do select the first element of the node stats which is the thread count. When you give these selectors the property display: none !important; the thread count shouldn't get displayed to anyone visiting your site. If this doesn't solve your problem please specify (best be done with a screenshot pointing out the element) which element you want to customize.
The code for your extra.less template could look like this:
Less:
/* Removes thread counter from every forum in the forum view for everyone */
.node-stats {...
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...
.node-stats dl.pairs.pairs--rows:first-child and .node-meta dl.pairs.pairs--inline:first-child do select the first element of the node stats which is the thread count. When you give these selectors the property display: none !important; the thread count shouldn't get displayed to anyone visiting your site. If this doesn't solve your problem please specify (best be done with a screenshot pointing out the element) which element you want to customize.
The code for your extra.less template could look like this:
Less:
/* Removes thread counter from every forum in the forum view for everyone */
.node-stats {
dl.pairs.pairs--rows {
&:first-child {
display: none !important;
}
}
}
.node-meta {
dl.pairs.pairs--inline {
&:first-child {
display: none !important;
}
}
}
Or you use the CSS version in your extra.less template, that's up to you:
CSS:
/* Removes thread counter from every forum in the forum view for everyone */
.node-stats dl.pairs.pairs--rows:first-child,
.node-meta dl.pairs.pairs--inline:first-child {
display: none !important;
}