Saturday, 6 January 2007

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

No comments:

Post a Comment