How to Remove/Delete Blogger "Showing posts with label" Message Box Without Affecting 404 Page - Cyber Programmers - Learn Programming

Breaking

Sunday, October 25, 2015

How to Remove/Delete Blogger "Showing posts with label" Message Box Without Affecting 404 Page

Blogger is a free way to create a blog without caring about hosting payments. You can modify your blog's design using CSS, add some cool features using JQuery Library. But there are some things that you really want to remove from your blog to give it a more efficient look. And today I will show you how to remove the "Showing posts with label" message box when you are opening a label page. You may already found a trick to do that just by removing a piece of an HTML code, but you only will mess up your blog's 404-page error message. So I will show you more smart and safe way to do that.

Also Read: How to add a Colorful Search Box Widget on Blogger

1) From Blogger's dashboard go to Template -> Edit HTML.
2) Simply use the Ctrl+F keyboard shortcut to open up the search box and search for <body>.
3) Now paste the below code just before the <body> tag.
<b:if cond="data:blog.pageType == &quot;index&quot;">
<b:if cond="data:blog.searchLabel">
<style>
.status-msg-wrap{display:none;}
</style>
</b:if>
</b:if>
And press on "Save Template" button.
That's all, now you can check the label page on your blog. If you have done all right you should not see "Showing posts with label" message box anymore.