Hướng dẫn tạo bài viết cùng liên quan cung nhãn trên blogger

Bài viết liên quan cùng chuyên mục hay sản phẩm liên quan cùng loại đã quá quen thuộc đối với các Website tin tức và Website TMĐT. Tiện ích bài viết liên quan này giúp người xem cảm thấy thân thiện, dễ dàng tìm kiếm và xem thông tin đang quan tâm. Đây chính là một trong những yếu tố thu hút độc giả ở lại Website lâu hơn, ghé thăm Website hàng ngày.

Còn với Blog thì sao? Liệu có thể tích hợp tiện ích này vào được không? Ta hoàn toàn có thể tích hợp tiện ích này vào Blog của mình. Nào chúng ta cùng nhau thực hiện nhé.
– B1: Đăng nhập vào Blog
– B2: Vào Menu Mẫu (Template)Chỉnh sửa HTML (Edit HTML)
– B3: Ấn tổ hợp phím Ctrl + F và tìm thẻ </b:skin>
– B4: Dán đoạn code bên dưới vào trước thẻ ]]></b:skin>
 
/*****************************************
     Related Posts CSS
******************************************/
#related-posts {
    float:none;
    text-transform:none;
    height:100%;
    min-height:100%;
    padding-top:15px;
    padding-left:5px;
    background:url(http://3.bp.blogspot.com/-_TIz21ryjr8/TgxAEZFq9KI/AAAAAAAAA_8/02FNsoyYnMw/s1600/post-bottom-bg.png) repeat-x scroll top left transparent !important;
    clear:both;
    display:block;
}
#related-posts{float:left}

#related-posts img{float:left;border:1px solid #BBB;margin-right:10px;width:36px;height:36px;background:#FFF;padding:3px}

#related-posts h3{
    font-size: 12px;
    font-weight: bold;
    color: black;
    margin-bottom: 0.5em;
    margin-top: 0em;
    padding-top: 0em;
}
#related-posts h4{
    font-size: 12px;
    font-weight: bold;
    color: #004175;
    padding-top: 0em;
}

#related-posts a:hover{
    color:blue;
}

#related-posts ul{
    list-style-type:none;
    margin:0 0 0 8px;
    padding:0px;
    text-decoration:none;
    font-size:12px;
    color:#000000;
}

#related-posts ul li{
    background: url(https://lh5.googleusercontent.com/-rfVRZ6kntoQ/UrVR92MW58I/AAAAAAAABIY/f9OTBDKHQR8/s6-no/li-dot.png) no-repeat scroll left center transparent;
    display:block;
    list-style-type:none;
    margin-bottom: 6px;
    padding-left: 20px;
    padding-top:0px;
    font-size:12px;
}

– B5: Ấn tổ hợp phím Ctrl + F và tìm thẻ 

Leave a Reply

Your email address will not be published. Required fields are marked *