05-06-2014, 02:21 PM
I see Spartan added this to the theme I'd like to share how he did.
Step 1
Go to Index templates -> index_boardstats template
Step replaceWith
Step 3:
add this to the end
Add to the end of global css
on mobile well fix this thread when I get home
Step 1
Go to Index templates -> index_boardstats template
Step replace
Code:
{forumstats}
Code:
</tbody>
Step 3:
add this to the end
Code:
<div style="text-align: center">
<span class="stats">{$stats#'numposts'#}</span><span class="statstext"> Posts</span>
<span class="stats">{$stats#'numthreads'#}</span> <span class="statstext">Threads</span>
<span class="stats">{$stats#'numusers'#}</span> <span class="statstext">Members</span>
</div>
<br />
Add to the end of global css
Code:
.stats {
-webkit-box-shadow: inset 20px 58px 20px 70px #538297;
-moz-box-shadow: inset 20px 58px 20px 70px #538297;
box-shadow: inset 20px 58px 20px 70px #538297;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-left:50px;
color: #ffffff;
font-size: 17px;
padding: 3px 8px;
}
.stats:hover {
color: #80d0cd;
-webkit-transition: color 200ms ease-in;
-moz-transition: color 200ms ease-in;
-o-transition: color 200ms ease-in;
}