Chỉ hiện thị tiêu đề bài viết ở trang chủ trong blogspot

 Nếu bạn muốn trang chủ blogspot của mình chỉ hiện thị tiêu đề các bài viết theo kiểu dạng list thì làm như sau:

Bước 1: Chọn chủ đề / chọn chế độ hiện thị HTML

Bước 2: 
Ở chế độ html (chỉnh sửa template của blogspot) nhấn Ctrl + F , gõ </head>
Copy code sau dán trước thẻ </head> trên 1 dòng là được;
<style type='text/css'>
 
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
 
.post {
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.0em;
height:50px;
}
.post h3 {
margin:.25em 0 0;
padding:0 0 4px;
font-size:20px;
font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
font-weight:normal;
line-height:1.4em;
color:#cc6600;
}
 
.post h3 a, .post h3 a:visited, .post h3 strong {
display:block;
text-decoration:none;
color:#cc6600;
font-weight:normal;
}
 
.post h3 strong, .post h3 a:hover {color:#333333;}
 
.post-body {display:none;}
.post-footer {display:none;}
.comment-link {display:none;}
.post img {display:none;}
.post blockquote {display:none;}
.post blockquote p {display:none;}
h2.date-header {display:none;}
.post-labels {display:none;}
.post-rating {display:none;}
 
</b:if>
</b:if>
 
</style>

Bước 3: Chọn Lưu

Thế là xong.

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *