How To: Remove "Showing post with label...show all posts"

Friday, July 6, 2012



So you've figured out how to add labels and now you want to use them... but for some reason an ugly gray box is cluttering the page:

Want to know how to remove the "Showing post with label...show all posts" box on Blogger?
Here's how:

Log in to your Blogger account, Back-up your template, then go to:

Dashboard > Template > Edit HTML
Now, you need to check the Expand Widget Templates box:

Find (ctrl + f) the following part of code:

<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>

Erase it and replace it with:
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>

Save and voila.  Now you're able to view any label on your blog without having to view the dreaded gray box.

Code from BlogBulk.

0 Comments:

Post a Comment

Comment: