How to Hide or Remove Blogger Navbar

Turn Off the Blogger  NavbarHow to hide and remove the Blogger navbar with simple CSS, How to Turn Off Blogger Navbar and why you should remove and disable the blogger navbar

Bloggers automatically inserts a little navigation toolbar (called Blogger Navbar) in all pages of blogspot blogs. This Blogger Navbar gets tucked into the top of the browser window and is supposed to add new (?) functionality to each blog. Blogger Navbar is 50 pixels high and spreads across the entire width of the browser window.

1. There are two buttons on the navbar that point to the Blogger Homepage. Too much of self-promotion.
2. The NextBlog button takes visitors to another recently-updated randomly selected blog on blogspot. But what if clicking the NextBlog button takes my innocent readers to a blog with adult offensive content.
3. The Search Blog Form is not integrated with my Adsense for search account. I want visitors to use my custom Google site search form that is monitized by Google Adsense.
4. The existing Blogger Navbar colors do not gel with my custom blogger theme.
5. The BlogThis! pop-up link is already availble when I enable Blogger Backlinks.

To hide the Blogger Navbar, try any of these CSS techniques. [they should work with Blogger Beta or Blogger 3.0 as well]

Technique One: Insert (copy, paste) the following CSS code in your Blogger Template to disable the Blogger Navbar
<style type="text/css">
#b-navbar {
height:0px;
visibility:hidden;
display:none
}
</style>
Technique Two: This is another simple way to remove the Blogger Navbar but it will not form valid HTML. Replace your <body> tag with the following code and hide will hide the Blogger navbar.
<noscript><body></noscript>
Technique Three: Similar to technique two for hiding the blogger navbar but doesn't form valid HTML. Replace your <body> tag with the following code and hide will hide the Blogger navbar.
<noembed><body></noembed>
I use the first technique for this weblog as it results in well-formed HTML. Remember GoogleBot hates pages that are not constructed with well-formed HTML. But hiding the blogger navbar gives rise to another problem. You might notice some empty space in your webpages between the top edge of the browser window and your blog content. We will again employ a simple CSS tweak to remove the gap at the top.
body
{
margin-top:0px;
}
If this doesn't remove the gap created with Blogger Navbar, try the following CSS hack
body
{
margin-top:0px;
position: relative;
top: -50px;
}
Is removing the Blogger Navbar legal ?

The Terms of Service for Blogspot.com do not mention anything about Blogger Navbar but it does state a word about the discontinued Blogger AdBar which was previously displayed on freely-hosted Blog*Spot blogs.
By creating your BlogSpot Site, you agree that Pyra has the right to run such advertisements and promotions.

You also agree that you will not attempt to block or otherwise interfere with advertisements displayed on your BlogSpot site via JavaScript or any other means. Doing so is grounds for immediate termination of service. The manner, mode and extent of advertising by Pyra on your BlogSpot Site is subject to change.
Since it is not mentioned explicitly in the Terms of service, it remains doubtful if removing and hacking the Blogger navbar is any violation of the Blogger terms of service. Lets say we are not "removing the navbar" but only "hiding the navbar" or we could even re-position the navbar to the bottom of the blog. Get rid of the blogger nav bar.

Find this article at: http://labnol.blogspot.com/2005/12/disable-hide-blogger-navbar.html

web: http://www.labnol.org/ email: amit@labnol.org

Reader Comments

Just tried technique #1 and it does the job. Thanks very much for providing this.

Thanks! You helped solve a crucial problem for me!

Thanks, I messed up the nav bar so it diden't extend fully across the page. It was disrupting the whole design of the blog. Then I tried to get rid of it. You really helped me! Thank-you!

Technique three worked really well for me so thanks!

I've been trying to get rid of that navbar at the top of the screen for hours...found your site...then bang!
Well..there u go...
Your a legend!!! Thanks very much!!!

I am so thankful to have found this.

But I am just brginnin g with HTML.

Where do I post the code within the Html???

Help.

wantzjt@gmail.com

Hi,
I'm using blogger beta templates. I tried to add the code you described but it didn't work. It still show the navbar. What should I do?

Thanks.

I tried technique no.1, it does not work, guessing where to place the "style" tag is the key to this, so let us know where to place this would be a great help.
Technique 2 does not work either since you cannot save an unformed HTML.
Is this right, or I simply didn't know how to do.

you can even try this
< noframe> < body> </ noframe>

Blogger just launched it's new non-beta version, and these hacks don't seem to cut it. For example, there aren't any style tags, and there isn't a <body> either. Has anybody cracked the new system? Many thanks!!

Thanks a lot! I'm currently running several blogs, and it was infuriating having to work your design around the navbar, especially due to its limited colour schemes. I now have a much cleaner and professional looking blog. Well done

I think the new blogger templates just call it navbar, not b-navbar. After a little fumbling around I got it to work. Thanks.

Thanks awaller,

Your tip works! Just hate that navbar, it hurts the eyes!!

Still can't remove the navbar!

I can't track down any of the tags mentioned, as someone else commented above...and trying to wrap the body tag kicked it back to me when i tried to preview...
any thoughts?

I need help to remove the navbar!Please!
klajdi2@gmail.com

Where do i post the code in Technique #1? at the beginning of the code? or at the end? or somewhere in the middle?

yes, in new blogger, its navbar, not b-navbar.

just use this:

#navbar {
height:0px;
visibility:hidden;
display:none
}

Thanks very much for this solution! In the end I had to go for option 2, I'm using the new version of blogger. Thanks again.

For New blogger this code will work:

#navbar-iframe { height: 0px; visibility: hidden; display: none;}

Thanks Gagan Bassi~

#navbar-iframe
{
height: 0px;
visibility: hidden;
display: none;}

This really works~ i tried all the above solution but doesn't work. But yours does. Thanks so much!

I think I read some where in buzz.blogger.com that blogger has the sole right to delete any blog without the navbar although I haven't seen any blog deleted for this reason but still prevention is better than cure

http://buzz.blogger.com/search?q=navbar

""We consider it a violation of the terms to modify the Blogger navbar, but that's not what was reported to have happened here.""

I've removed my Navbar though

The code below works for the new Blogger Beta but it slightly messed up my header layout. I had to increase my header image height by one pixel to close up a gap after applying this hack.

#navbar-iframe
{
height: 0px;
visibility: hidden;
display: none;}

I just use the drop down option in the templates section to turn off the navbar. Don't want to hit next blog at work and have some "BAD" site come up! I love css, don't get me wrong. It is my only true love, however sad that might be.

looks like that drop down box option is only available when you are posting to another ftp location.
.
that sucks
.
oh well this bit works great!

#navbar-iframe
{
height: 0px;
visibility: hidden;
display: none;}

for the first technique, this bit actually works better, the first only works on i.e.5+, this one works on all, including mozilla firefox 2.0

#navbar-iframe
{
height:0px;
visibility:hidden;
display:none
}

Hi Amit,
That's a great hack. I can see you have applied it to your own blog.
I don't wanna remove, but want to move it to bottom. How do I do that?
Thanks.

For Beta Bloggers: put the code below the head, in the begining of the html.

We're just starting out, and don't know much about HTML. Do you put that code below the word head (it has <> around it) (which is about 8 lines from the top)? Or do you put it at the very top of the code?

Good article, but old.
I'll say that removing the navbar is against the rules - now.

@heather: This article is based on the old Blogger.com.

If you use the new Blogger.com there's new lines to be added.

Hi Amit, I've been actively following your blog (via e-mail subscriptions)for quite sometime now, but haven't really commented on any post. So, let me take this opportunity to let you know that you're doing great work! Thanks for sharing all your knowledge through this media.

I've got one quick question on this post that I'd like to ask -- Do the tips that you've mentioned above, work for the new beta blogger that uses XML(I guess it's XML, please correct me if am wrong)?

I'd be glad if you could throw some light on this when you get a chance. Thanks !!

This post has instructions on how to remove the navigation bar of the new Blogger:

Hide Navbar in New Blogger

« Back to main



Google Custom Search