Add icon to last post column

From PunBB Resource Wiki

Jump to: navigation, search

This article explains how to add an icon to the last post column as shown in the image.

Make your icon with Photoshop or any other suitable tool. Save it as:

img/yourstylename/icon_post.gif

Add this to your stylename_cs.css:

/* POST BY USER WITH ICON */
.pun span.byuser
{
/* your icon and position */
background-repeat: no-repeat;
background-image: url(../../img/yourstylename/icon_post.gif);
background-position: left;
 
/* your text position */
padding: 0px 20px 0px;
}
Making the Icons Clickable

Go to yourstylename_cs.css and add

 
/* Make icons clickable */
 td.tcr a {
  background: transparent url(../../img/yourstyle/icon_post.gif) center left no-repeat;
  padding-left: 20px;
}
Personal tools