1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

blogger nav bar - how to hide it?

Discussion in 'Blogging' started by coolsitez, Jan 25, 2007.

  1. #1
    Anyone knows how to hide the nav bar at the very top of blogspot?

    I put the code for the beta version, and it works fine, but not the new blogger.
     
    coolsitez, Jan 25, 2007 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
  3. procrastinator

    procrastinator Peon

    Messages:
    1,718
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I wonder if its legal/allowed to get it off .
     
    procrastinator, Feb 8, 2007 IP
  4. CountryBoy

    CountryBoy Prominent Member

    Messages:
    8,970
    Likes Received:
    754
    Best Answers:
    0
    Trophy Points:
    360
    #4
    A lot of people choose to remove it and I've never heard of anyone getting into trouble for it. Blogger are fairly easy going when it comes to content and formatting your template.

     
    CountryBoy, Feb 8, 2007 IP
  5. ArcoJedi

    ArcoJedi Well-Known Member

    Messages:
    80
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    118
    #5
    Removing the navbar is probably against some remote Terms of Service I can't currently find. However, what I usually do is hide it using CSS but if you hover over the location it reappears, just in case someone wants to use it.

    Add this code to your <style /> section:
    #navbar-iframe{opacity:0.0;filter:alpha(Opacity=0)}
    #navbar-iframe:hover{opacity:1.0;filter:alpha(Opacity=100, FinishedOpacity=100)}
    Code (markup):
    I find the search feature quite useful, so I leave it most of the time, but hide it unless you hover.

    Note: if you are using FTP through Blogger, you can simply turn the navbar off through the template controls. Look for the control that changes the COLOR of the navbar and you will see an "off" choice.
     
    ArcoJedi, Feb 8, 2007 IP
  6. oky

    oky Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    navbar has a search box in your blog, i think its a good reason not to remove it :)
     
    oky, Feb 10, 2007 IP
  7. dinodino

    dinodino Peon

    Messages:
    265
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Interesting.

    Is there any way one can incorporate the search into your blog (template) page itself?
     
    dinodino, Feb 10, 2007 IP
  8. rajun

    rajun Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for the links. Its helpful.
     
    rajun, Feb 14, 2007 IP
  9. ArcoJedi

    ArcoJedi Well-Known Member

    Messages:
    80
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    118
    #9
    What a crazy idea! I've actually been thinking of doing this for a little while. So I viewed source on the blog page and found the right <table /> row with the search box and trimmed it and now we have.... *drum roll*
    
    <div>
    	<form action="http://INSERT-YOUR-URL-HERE.blogspot.com/search" style="display: inline;" id="searchthis" method="get">
    		<div>
    			<input id="b-query" name="q" type="text" />
    		</div>
    		<div>
    			<input src="http://www.blogger.com/img/navbar/4/btn_search_this.gif" alt="Search This Blog" type="image" id="b-searchbtn" title="Search this blog" />
    		</div>
    	</form>
    	<a href="http://www.blogger.com/redirect/next_blog.pyra?navBar=true" title="Go to Next Random Blogger Blog" id="b-next"> Next Blog &raquo; </a>
    </div>
    
    Code (markup):
    I stripped out the table elements and the FLAG BLOG link. Because I believe in spreading the blog-love to other bloggers, I left the "Next Blog" link intact, but you could strip it out. Note that the form action URL is different if you are not hosting with Blogspot. You can also customize the <input /> image tag with any number between 1-4.

    Add this code to your template anywhere you would like it.
     
    ArcoJedi, Feb 18, 2007 IP
  10. ichigo

    ichigo Well-Known Member

    Messages:
    2,913
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    135
    #10
    i think you can also directly delete it in the page elements if you are using the new blogger.
     
    ichigo, Feb 18, 2007 IP
  11. ztoma

    ztoma Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I found a better way to hide/remove the Blogger navbar. Its not just about getting rid of it, it also lets you to later reveal it again. I find it pretty useful since there a quite handy tool in that head bar you're trying to get rid of.

    Here, take a look:

    http://derya-webresource.blogspot.com/2007/02/how-to-hide-blogger-nav-bar.html

    It works in the new non-beta Blogger also.
     
    ztoma, Feb 27, 2007 IP
    ArcoJedi likes this.
  12. ArcoJedi

    ArcoJedi Well-Known Member

    Messages:
    80
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    118
    #12
    Good find ztoma!
    **Bookmarked
     
    ArcoJedi, Mar 5, 2007 IP
    ztoma likes this.
  13. ztoma

    ztoma Peon

    Messages:
    43
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thanks ArcoJedi!

    And here's the direct link to the article: How to hide Blogger nav bar.

    (Now that I finally can post also live links :cool:)
     
    ztoma, Mar 6, 2007 IP
  14. ArcoJedi

    ArcoJedi Well-Known Member

    Messages:
    80
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    118
    #14
    I wanted to come back here and mention something in regard to the SEARCH code I posted above. The search images that I suggested using are no longer available. Blogger had been using search images in their form, but at some point they updated this to be a text link for this form, although they use some mid-level CSS to make it look pretty much the same.

    To clarify, in this post -
    http://forums.digitalpoint.com/showpost.php?p=2354048&postcount=9
    - I referenced this image -
    http://www.blogger.com/img/navbar/4/btn_search_this.gif
    But this and the other color versions are no longer at that URL. They may simply have been moved, but I can't find their new location. With this in mind, I suggest updating to another image. I found this image that looked like what I wanted to use, and just uploaded it to a blog and then added it to my template.
    [​IMG]
    http://bp1.blogger.com/_lYcu629SJWY/Rk7FOC0FGAI/AAAAAAAABGU/ZVulRvHdofA/s200/search.png
    It would be possible to modify the search to be a standard form button rather than an image, but I like the image and don't have much time to make changes to my code.

    Want more references? Here is a good resource I found that gives you some code examples of the search forms with a standard form as well as an image search button like I posted above.
    http://tips-for-new-bloggers.blogspot.com/2007/02/add-blogger-search-box.html
     
    ArcoJedi, May 28, 2008 IP