[For 1.8] Simple card statistics Anka06 Posts: 50 Threads: 26 Joined: May 2016 Reputation: 29 2018-11-03, 10:18 AM (This post was last modified: 2021-01-08, 09:25 PM by Anka06. Edited 1 time in total.) index_boardstats - add to bottom ``````

{\$stats['numusers']}

{\$stats['numposts']}

`````` Global.css ``````#statistics {     display: flex;     flex-direction: row;     text-align: center;     background: #f0f1f2;     padding: 5px;     border-radius: 5px;     font-family: Tahoma, Geneva, sans-serif;     box-shadow: inset 0 0 3px #ddd; } .statistics-box {     box-sizing: border-box;     padding: 20px;     background: #fafbfc;     border-radius: 5px;     flex: 0 0 auto; color:#64a8d6;     flex-grow: 1;     flex-basis: 0;     margin: 5px;     box-shadow: 0 0 3px #ddd; } .statistics-box--figure {     display: block;     margin-top: 20px;     color: #a8a8a8; }    @media only screen and (max-width: 865px) { .statistics-box {     width: 98% !important;     display: inline-block;     text-align: left;     padding: 8px;     margin-left: -5px; } #statistics {     width: 100% !important;     display: inline-block;     background: #fff;     box-shadow: none; } .statistics-box:nth-child(2) {     background: #e37d8c;     color: #fff; } .statistics-box:nth-child(1) {     background: #54cc74;     color: #fff; } .statistics-box:nth-child(3) {     background: #729fdb;     color: #fff; } .statistics-box--figure a {     color: #f5f5f5; } .statistics-box:nth-child(4) {     background: #ab72db;     color: #fff; } .statistics-box:nth-child(5) {     background: #dbb472;     color: #fff; } #statistics i {     float: left;     margin-top: 5px; } .statistics-box--figure {     float: right;     margin-top: 10px;     color: #f5f5f5; }    }`````` effone Development Posts: 4,089 Threads: 120 Joined: May 2012 Reputation: 476 2018-11-03, 11:07 AM Now your weekend homework is to fork it and make it responsive https://codepen.io/effone/pen/oQNwBO Theowner Posts: 71 Threads: 36 Joined: Jun 2018 Reputation: 0 2019-12-10, 01:26 AM How can I made this show in Portal Am using portal for homepage « Next Oldest | Next Newest »