June 27, 2007

Did your navbar re-appear suddenly?

Mine did! Looks like Blogger now adds the following line before /head tag all by itself.

#navbar-iframe {display:block}

As my display:none instruction was sitting before this line, it didn't come into effect. I had to move the line right after body tag as follows.

<body>
<style type='text/css'>
#navbar-iframe {display:none;}
</style>

You could use this method if you have the same problem. By the way, I am going by Amit's word that it is OK to hide the navbar :)

8 comments:

  1. you got my word on it since forever..but the only difference is that this confirmation is recent and public.

    ReplyDelete
  2. Umm… mine didn’t! 8|

    ReplyDelete
  3. Odd, but the code didn't show up over in my corner. Oh well, it gives me an excuse to say it's good to see you back blogging again.

    Cheers!

    ...Blog Bloke

    ReplyDelete
  4. I wouldnt be so sure about removing the navbar, but anyway I took it away, I use the following code that has worked for me without any trouble.

    actually its very similar to the one u're posting.

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

    ReplyDelete
  5. eish!dude/ette...i had managed before to put that header off completely than it re-appeared. the old tricks cudnt work anymore..thnks for the hacking tips.

    ReplyDelete
  6. I am no expert but that code worked perfectly!

    ReplyDelete
  7. Adding Google meta tag right after Head
    also displays navbar
    so add the meta tag after variable declaration part

    ReplyDelete
  8. For me also it worked perfectly!!!!
    Thank!!!!

    ReplyDelete

Dear Visitor,

All the hacks in this blog are proven to work. If some hack doesn't work for you, please re-read the instructions carefully and re-check the code.

-Ramani