Thứ Tư, 15 tháng 6, 2016

Thủ thuật tự động đánh số thự tự comment cho blogger



Thủ thuật này khá đơn giản, không phải mất công chỉnh sữa như các thủ thuật khác dễ dàng cho các bạn đang còn học tập làm blogger :D

Các bạn làm theo những bước sau:
Bước 1: Vào Blogger -> Template
Bước 2: Sao lưu lại Template đề phong có chuyện gì xãy ra
Bước 3: Click vào Edit HTML
Bước 4: Các bạn tìm <b:skin><![CDATA[/*
Bước 5: Các bạn copy toàn bộ đoạn CSS bên dưới và paste vào.

/*----- Comment Counter by BomKhung -----*/

.comment-thread ol {
counter-reset: mbt-comments;
}
.comment-thread li:before {
content:counter(mbt-comments);
counter-increment: mbt-comments;
font-size: 30px;
float:left;
position:relative;
top:0px;
left:-10px;
margin-right:0px;
height:100px;
margin-right:0px;
font-weight:bold;
font-family:arial, georgia;
color: #666;
}
.comment-thread ol ol {
counter-reset: mbt-comments-sub;
}

.comment-thread li li:before {
content: counter(mbt-comments) "." counter(mbt-comments-sub,lower-latin);
counter-increment:mbt-comments-sub;
font-size: 12px;
color: #666;
position:relative;
top:10px;
}

.comments .comments-content .comment-header, .comments .comments-content .comment-content { margin:0px 0px 8px 28px!important;}

Bước 6: các bạn lưu lại template và xem kết quả.

Chúc các bạn thành công

Không có nhận xét nào:

Đăng nhận xét