3/1/10

Thủ Thuật ẩn thanh Status "Show all Post with Label" cho Blogspot


Khi click vào 1 nhãn nào đó của blogspot bạn sẽ thấy thanh status-msg-body hay chúng ta vẫn thường gọi là form " Show all Post with Label " (hiển thị toàn bộ bài đăng của nhãn)



nếu bạn muốn nó ẩn đi thì có thể làm theo 1 trong 2 cách sau đây:

cách thứ nhất :

bạn hãy chèn đoạn code sau đây  :

.status-msg-wrap {
display: none;
}

vào giữa
<b:skin><![CDATA[/*         .........       ]]></b:skin>

Tốt nhất là nên chèn nó trên :

]]></b:skin>
Cách thứ 2 :

các bạn tìm đến đoạn code sau đây:

<b:includable id='status-message'>
  <b:if cond='data:navMessage'>
  <div class='status-msg-wrap'>
    <div class='status-msg-body'>
      <data:navMessage/>
    </div>
    <div class='status-msg-border'>
      <div class='status-msg-bg'>
        <div class='status-msg-hidden'><data:navMessage/></div>
      </div>
    </div>
  </div>
  <div style='clear: both;'/>
  </b:if>
</b:includable>

và thay thế nó bằng :
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

Chúc Các Bạn Thành Công !
Disqus Comments