Thursday, July 12, 2007

Removing A Page Element

Sometimes, when you work on a blog, you have page elements that need to be removed. All page elements can be removed - but some can't be removed immediately. Some take just a little bit of template tweaking.

Let's remove a standard header for instance. First, if you care about what you're doing, backup the template.


If you were lucky, you could just remove the Header page element.




You can't this time, though. There's no "Remove Page Element" button.



So, go to Edit HTML. Find the section of code
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='The Real Blogger Status Beta (Header)' type='Header'/>
</b:section>
</div>


and change "locked='true'" to "locked='false'".

<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='false' title='The Real Blogger Status Beta (Header)' type='Header'/>
</b:section>
</div>


Then Save Template. Go back to Page Elements.


Now you can just remove the page element.


And after you finish, backup the template again.

>> Top

1 comment:

Hentaiking said...

thank you sooo much dude.YOU FUCKING ROCKS.I have search for many but it always tell you how to removed the navbar instead of the header.Thx man