Pastor Rick
Head Administrator
Registered: 07-2005
Location: Texas
Posts: 560
Karma: 11 (+12/-1)
|
Reply ● Quote
|
|
Board Statistics
I am not sure how to describe this CSS trick beyond saying CSS selectors give a lot of design options with the "Board Statistics" table. As an example here is what I did on the "Enigma" skin update.
.forumlistboardstatstable > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(3):before {
content: 'No New Postings';
}
.forumlistboardstatstable > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(4):before {
content: '. . . . . . . . . . . . . ';
background: url(http://rbbt.net/skins/joshin_josh/enigma/nonew.png) no-repeat;
color: #000735;
}
.forumlistboardstatstable > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(3):before {
content: 'New Postings';
}
.forumlistboardstatstable > tbody:nth-child(1) > tr:nth-child(5) > td:nth-child(4):before {
content: '. . . . . . . . . . . . . ';
background: url(http://rbbt.net/skins/joshin_josh/enigma/new.png) no-repeat;
color: #000735;
}
If anyone is interested in more details on how this works please post a reply.
|
6/30/2018, 6:41 pm
|
Link to this post
Send Email to Pastor Rick
Send PM to Pastor Rick
Blog
|