yourforum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Water Bottle Flip 2 | Dude Perfect - 10 Million Views in 2 days
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 9:05 pm by Admin

» Binging with Babish: Rachel's Trifle from Friends
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 9:01 pm by Admin

» $1,977 Japanese Grapes - About 4 million views in 4 days
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:58 pm by Admin

» Superman-Batman Vol. 5 [2017]
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:53 pm by Admin

» BluffTitler Ultimate v13.6.0.2 Multilingual
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:44 pm by Admin

» Ultra HD 3840×2160 Wallpaper Pack 192
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:38 pm by Admin

» Weather Station v3.4.8
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:36 pm by Admin

» Photography Week – 23 November 2017
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:31 pm by Admin

» CCleaner v1.23.101 [Professional]
How to remove "Showing posts with label" in Label posts  EmptyThu Nov 23, 2017 8:23 pm by Admin

RSS feeds


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 



How to remove "Showing posts with label" in Label posts

Go down

How to remove "Showing posts with label" in Label posts  Empty How to remove "Showing posts with label" in Label posts

Post by Admin Tue Jun 04, 2013 1:49 pm

How to remove "Showing posts with label" in Label posts  Lable+posts


Blogger
uses a variable called data:navMessage for putting this message to your
template. We can remove this from your template and the label message
won't be there anymore. But there is a problem with this method, your
custom 404 page won't show up, because Blogger uses the same
data:navMessage variable for inserting your custom 404 message.
If
you want to keep custom 404 message option from Blogger settings, use
the first method to hide the message and if you are OK with removing 404
page, use the second method.

Method 1: Hide "Showing posts with label" message

First and always backup your template before any editing

Then go to Template > Edit HTML
In Blogger default templates, search for
Code:
<body expr:class='"loading" + data:blog.mobileClass'>
....... and in custom templates, search for

Code:
<body>
Add the below code just after above code.

Code:
<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.searchLabel'>
<style>
.status-msg-wrap{display:none;}
</style>
</b:if>
</b:if>

Your new code will look like this.

How to remove "Showing posts with label" in Label posts  Remove-label-status-message


Now save template and check this hack by clicking on any label link. remove label status message
Code is added just after body tag

Method 2: Remove Showing posts with label message and custom 404 page option

Go to Template > Edit HTML
Press Ctrl+F and find the following code. If you are not successful, search only the first line

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

Delete the entire code and Save the template, now check the result by clicking any of your labels

Admin
Admin

Posts : 2774
Join date : 2012-06-08

https://yourforum.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum