Untuk Menambahkan Nomor Urut Pada Daftar Komentar, Cari skrip ]]></b:skin> dan letakkan skrip berikut di atasnya:
/* Nomor Urut Pada Komentar */
.comments {counter-reset:number;}
.comments .comment {position:relative;}
.comments .comment-content {margin-right:50px !important;}
.comments .comment:after {counter-increment:number;content:counter(number);display:block;width:40px;height:40px;text-align:center;font:italic normal 20px/40px Times,Serif;color:#ccc;position:absolute;top:0;right:0;-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;border:4px solid #3c3c3c;background-color:#333;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.7);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.7);box-shadow:inset 0 1px 2px rgba(0,0,0,0.7);}
.comments .comment .comment-thread.inline-thread {counter-reset:number;}
.comments .comment .comment-thread.inline-thread .comment:after {font-size:18px;line-height:30px;width:30px;height:30px;}
.comments .comment:hover:after {background-color:blue;border-color:#900;color:white;}
Simpan template dan lihat hasilnya.
Tidak ada komentar:
Posting Komentar