June 15, 2011

Widgets

Customize Blogger Navbar - Add It To Sidebar!


custom-blogger-navbarWe can make a custom navbar using the Blogger Official Search and Navbar widget provided in different color schemes. This is again a great trick using the Iframe Technique. This idea came into my mind just last night when I observed that the source file of our blog had two Iframed widgets one is the poll widget and another is the Navbar. Fortunately, this is again a first time shared tutorial by us. Although we often remove Blogger Navigation bar but its Search function and share and follow links can prove very important.


Live Demo

Below you can see a customized version of the same navbar in two modes.

 

When users Log in, they will see this:

custom navbar

 

When users Log out of Blogger, they see this:

blogger custom navbar

On clicking the share link, readers can share your blog post on Twitter, Facebook, Google Buzz or Google Reader.

 

navbar share option

On clicking the follow button, you can follow the blog updates:

follow button on navbar

The following Navigation colours are available:

TAN:

tan navbar

BLACK:

black navbar

 

SILVER:

silver navbar

BLUE:

blue navbar

 

 

Add Blogger Navbar To Sidebar

You can use the code below to add the Navbar anywhere you want and not just the sidebar. You can add it to your blog posts also. To add the widget to your sidebar simply do this:

  1. Go to Blogger > Design
  2. Choose a HTML/JavaScript Widget
  3. and Paste the code below inside it,
<iframe 
src="http://www.blogger.com/navbar.g?targetBlogID=8193278726666811965&amp;
blogName=My+Blogger+Tricks&amp;publishMode=PUBLISH_MODE_HOSTED&amp;
navbarType=SILVER&amp;layoutType=LAYOUTS&amp;
searchRoot=http%3A%2F%2Fwww.mybloggertricks.com%2Fsearch&amp;
blogLocale=en&amp;homepageUrl=http%3A%2F%2Fwww.mybloggertricks.com%2F&amp;" 
marginwidth="0" marginheight="0" scrolling="no" 
frameborder="0" height="30px" width="237px" id="navbar-iframe" 
allowtransparency="true" title="Blogger Navigation and Search"></iframe>

Make these changes:

  • Replace 7193277726666811965 with your BLog ID. Go To Blogger > Design and now look in your browser address bar, you find a long digit code. Copy it and paste it in place of this number 7193277726666811965
  • Replace My+Blogger+Tricks with your Blog Name. It is the name of your blog that you see in your blogger dashboard. Remember to separate each word with a plus sign (+)
  • Replace SILVER with your prefered colour scheme in capital letters. You can try four colour schemes which are : 1) BLUE    2) BLACK   3) SILVER    and  4) TAN
  • Replace www.MyBloggerTricks.com with your blog link (exclude http://) If your blog URL is http://xyz.blogspot.com then simply write xyz.blogspot.com

     4.  Save your widget and you are done!

View your blog and start playing with the official search box along with the free follow and share option. Have fun!




If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

11 comments:

azgor on Jun 15, 2011, 7:40:00 PM said... #

great post. but brother pls add a demo link - Navbar in sidebar

fernando .k on Jun 16, 2011, 3:08:00 AM said... #

Wow man that is so cool. Thank you let me try it.

Felix on Jun 16, 2011, 12:21:00 PM said... #

Nice trick, Now what happens to those of us who removed the nav bar and want to implement the your tip? I ask this because whenever I input the code above in html/java widget, and save. there's no changes.

Mohammad Mustafa Ahmedzai on Jun 16, 2011, 8:23:00 PM said... #

@azgor

Request completed! :>

@fernando

my pleasure.

@Felix
That is the good thing about it. You don't need to show navbar at top. The Widget will work on its on. Just copy and paste the code. That's it. And Yeh I have updated the code, you may check now

Felix on Jun 18, 2011, 7:36:00 PM said... #

@Mohmd, Not once, not twice I have tried to implement the above tip but to no avail. I followed the instruction as you indicated but the moment I save to see the changes, nothing is forthcoming. Pls do examine my blog and tell me what could be the problem. I intend'd to add it at my blog posts. Nice wk'end.

D-Quote on Jun 19, 2011, 12:27:00 AM said... #

Thanks... This is really nice idea... i`ll try this now.

Tamer Maverick on Jun 28, 2011, 6:44:00 AM said... #

جربت زي ما شرحت يا استذا مصطفي ولم يظهر عندي
مش عارف من اية المشكلة

http://egy-after-25.blogspot.com/

HIMANSHU NEGI on Jul 30, 2011, 6:38:00 PM said... #

Don't you think my Navbar matches my blog well ! but I'm thinking to remove "report abuse" & "next blog" option from NavBar. Do you have that simple way for that ? please leave a comment for me.

http://tip4tec.blogspot.com

Rafhan Shaukat on Sep 11, 2011, 1:09:00 PM said... #

It's not working for mine blog, http://bhawanacity.blogspot.com/
Can you plz tell any bug, is there?

Tim on May 2, 2012, 9:40:00 AM said... #

Mine says:

We are sorry, but we were unable to complete your request.

The following errors were found:
searchRoot: URL contains illegal characters
homepageUrl: URL contains illegal characters

Any ideas on this?

Taimoor on Feb 2, 2013, 1:41:00 PM said... #

Thank you so much. You have explained it very well.
You can visit me at: Bloggerjin Tutorials

Click Here To add Comment

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.

Regards,
Mohammad

Support Us

If our Tutorials have helped you a little, then kindly spread our voice using the badge below:-

or try a Beautiful Banner


Widgets

 
  • MBT Icons and buttons

    Icons and Buttons

    Our resources have been successfully downloaded over 10K times and found almost every where. Get yours!

  • choosing webhost for a blog

    Why HostGator?

    Learn Why we chose HostGator as our Web Host and find discount coupons to kick start your blog today!

  • SEO Settings for blogger

    ALL IN ONE SEO PACK 2012

    Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

  • Blogger widgets and plugins

    Visit MBT's Blogger LAB

    Why not take a tour of all great Blogger widgets published so far? You Name it we have it!

  • become a six figure blogger!

    Become a SIX FIGURE BLOGGER

    Learn what it takes to become a successful entrepreneur and build a living online!

About The Author

Hi! I am Mohammad, a certified SEO Consultant, Pro Blogger, Computer Engineer and an addicted Web Developer. Read More..

Recipes

SEO Affiliate Marketing Social Media

Make Money Online Web hosting

Blogging Tips Web Designing

Plugins and Widgets Blogging Ethics

Recent Comments

Popular Series

Powered by:

My Blogger Tricks © 2013. All Rights Reserved | Contact |