Remove 'Header/Title' on label page

Another reader, Steve from CScreasteve was having a dilemma with the appearance of his label page. When clicking on a label a new page appeared with a 'header' that said :

| Showing posts with label |Some.Words|. Show all posts |

He wanted this header removed and couldn't find the area in the code to do it. With some digging around in the widgets we came up with this:
<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>
Remove the red code which leaves:

<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
All of the offending header/title should be removed now!

post signature

22 comments:

  1. leaves codes is:
    <b:includable id='status-message'>
    <b:if cond='data:navMessage'>
    <div>
    </div>
    <div style='clear: both;'/>
    </b:if>
    </b:includable>

    ReplyDelete
  2. @ponny, I'm pretty sure that is what I have!?

    ReplyDelete
  3. that's great,I'v used it,thanks

    ReplyDelete
  4. @禾草唐楷, glad it proved useful!

    ReplyDelete
  5. Help again?

    can't add header to my blog. something changed since you have my the html coding.

    trying to add:
    http://bp2.blogger.com/_HPpl3YZTgVc/RZ6wK_1zESI/AAAAAAAAAG4/qxED12_gHRE/s400/header.jpg


    http://bp2.blogger.com/_HPpl3YZTgVc/RZ6wK_1zESI/AAAAAAAAAG4/qxED12_gHRE/s1600-h/header.jpg

    ReplyDelete
  6. @blogwhore, if you take a look at my posts on Headers that should give you all the instructions you need. Especially Customizing your header: add an image

    ReplyDelete
  7. ok since we're on the subject of removing stuff, can you show us how to remove those image border everytime an image is uploaded with a post? Or maybe a way to change the color or even replace it with a photo frame image?

    would really appreciate your help ;)

    ReplyDelete
  8. @bulimic, take a look at this post and see if it helps: How to Remove or Change Image Borders

    ReplyDelete
  9. Thanks a lot!

    ReplyDelete
  10. Yipeeee, it works! Much better :)

    ReplyDelete
  11. I was wondering If I could somehow replace this "status-message" with a description of the posts with that label.

    Using the label as the 'conditional variable' and showing a different description based on the label? Anyway to do this?

    ReplyDelete
  12. @hermes13, I'm not quite sure what you are asking. The Label Page will show the actual label.

    I need an example.

    But, with that said, I don't know if I'm able to hack that area. If I understand what you want, I'll look into it.

    ReplyDelete
  13. Thanks for you timely response!

    What I would like to do is have a single picture or block of text replace the "Showing posts with label #####. Show all posts". Depending on what label you have selected. This way I can write a description that appears only once, on the page where it lists all the posts that have a specific label.

    I appreciate your help.

    Dom

    ReplyDelete
  14. @hermes13, OK, now I understand what you are asking. I don't know if it is possible (for me at least), but I will put it on my to-do list.

    ReplyDelete
  15. Thanks Annie,

    I really appreciate it! Some ideals and I don't know if they are possible...

    1. Put a post with a specific Label in the empty div tags? The one that got emptied out in the "remove header/title" hack.

    Maybe by create a post with a label like 'puppiesinfo' and when you click on the label 'puppies' it searches for the post with label+"info" and puts everything in that post into the empty div tag.

    Then it would just be a matter of not having that 'info' label show up in your label list widget and you would have a specific intro to the puppies label search page!

    I don't know, I am just brainstorming, but thanks for your help and I hope to hear from you soon.

    ReplyDelete
  16. If you remove ONLY the first instance of < data:navMessage/ > (5th line of annie's code), and replace it with eitehr < img src="blah.jpg" > or with a line of text, it will ALWAYS display that line of text, no matter which label page you're on.

    My problem is, I want to change it to "Showing [labelname]" and I can't seem to get blogger to allow me to change the labelname dynamically.

    ReplyDelete
  17. hey! my template is already modified and i cannot find the codes that you just gave above..i really really want to remove the header title but i still couldn't do it.

    rsvp. if possible in my blog. ty!

    ReplyDelete
  18. You have to check the box that says expand 'widget templates'

    ReplyDelete
  19. Thank you thank you thank you - you are a genius! This was seriously bugging me, but now all fixed. Yay!

    ReplyDelete
  20. Hey, i was wondering if you knew how to disable the Header - so when you click on it it doesnt do anything...see I created labels, one of them being a 'Frontpage' page, and i put what i want on this - however if you also click on the header it reveals all the recent posts regardless of where i have also labelled them on the header page x

    ReplyDelete
  21. Greate information for all i like it :)

    ReplyDelete
  22. That's nice i've used it. thanks for this very informative posts.

    ReplyDelete

Due to,happily, a steadily increasing readership, I'm not able to answer or solve all comments/problems. I do keep track of them and answer what I can as time allows. This is my attempt to balance home and blog.

To add a link in this comment, copy and paste this code in the comment window: <a href="URL">seen on post</a>
Change URL and seen on post. For instance, to have a link to BlogU, the code would look like this: <a href="http://bloggeruniversity.blogspot.com">
BlogU</a>
To use the DOFOLLOW attribute on this blog, please remember to use the NAME/URL option when commenting rather than linking to your profile page for more exposure!