<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<style type="text/css">
.post {position: relative;width: 265px;height: 250px;margin: 0 15px 0 0;padding:10px;float: left;overflow: hidden}
.post-body{margin: 0 auto;padding:0;line-height:1.6em}
.post h3{margin: 0 0 10px; padding:0; line-height:1.3em}
.post-footer{display:none}
.date-header{display:none}
</style>
</b:if></b:if>
Thay đổi dòng in đậm cho phù hợp blog của mình <b:if cond='data:blog.pageType != "item"'>
<style type="text/css">
.post {position: relative;width: 265px;height: 250px;margin: 0 15px 0 0;padding:10px;float: left;overflow: hidden}
.post-body{margin: 0 auto;padding:0;line-height:1.6em}
.post h3{margin: 0 0 10px; padding:0; line-height:1.3em}
.post-footer{display:none}
.date-header{display:none}
</style>
</b:if></b:if>
Main Body ở trên được chia làm 2 phần có tổng chiều rộng là 600px, được tính theo công thức :
Main Body = 2x265px + 2x15px + 4x10px = 600px
Để chia thành 3,4 hay n phần thì bạn cần áp dụng công thức trên để tính toán cho hợp lý. * Kế đến tìm trong template đoạn code bên dưới
#blog-pager {
text-align: center;
}
* Thay thế thành
text-align: center;
}
#blog-pager {
text-align: center;clear:both;padding-top:20px;
}
Khi sử dụng thủ thuật này, nhất thiết bạn phải chèn JumpLink cho mỗi bài post :
bạn đọc theo link này :text-align: center;clear:both;padding-top:20px;
}
http://thuthuatgood.blogspot.com/2012/01/tien-ich-auto-readmore-hack-with.html Nguồn : http://thuthuatgood.blogspot.com