Saturday, 16 February 2013

Creating Simple Drop Down Menu For Blogger

blogger drop down menu
A drop down is really essential tool or widget for any blog or websites. It gives real feel or look of the template or blog. Drop down menu lets users easily navigate through different parts of the blog. In this tutorial i will teach you to add simple navigation menu or Drop down menu to your blog. The good thing about this widget is that it requires no jquery and is coded completely in Html and CSS. So it loads really fast. Lets get started!.

How To Add Drop Down Menu ?

1. Go to blogger Dashboard and click on Layout.
2. Then Click on Add Gadget (Below Header not on sidebar) and Choose Html/Javascript Widget.
3. Now Paste below code into it.
<div id='mbwnavbar'>
      <ul id='mbwnav'>
          <a href='#'>Home</a>
          <a href='#'>About</a>
          <a href='#'>Contact</a>
           <a href='#'>Sitemap</a>
                <li><a href='#'>Sub Category #1</a></li>
                <li><a href='#'>Sub Category#2</a></li>
4. Now Change the text in Bold with appropriate label and also replace the url highlighted in red color (#).
5. To add another tab to the drop down menu then add below code before </ul>. or delete that code from above code to remove any menu.
       <a href='#'>Contact</a>
6. Now we will add CSS, Go to Blogger Dashboard and click on Template and click on Edit Html. Backup your template before doing this.

7. Then Search for below code.
8. Paste the below code above the code you searched in Step 7.
/**MBW Navgation bar **/
#mbwnavbar {
    background: #464849;
    width: 960px;
    color: #FFF;
    margin: 0px;
    padding: 0;
    position: relative;
    border-top:0px solid #960100;
#mbwnav {
    margin: 0;
    padding: 0;
#mbwnav ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
#mbwnav li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left:1px solid #333;
    border-right:1px solid #333;
#mbwnav li a, #mbwnav li a:link, #mbwnav li a:visited {
   color: #FFF;
   display: block;
   font:normal 12px Helvetica, sans-serif;    margin: 0;
    padding: 9px 12px 10px 12px;
    text-decoration: none;
#mbwnav li a:hover, #mbwnav li a:active {
    background: #028490;
    color: #FFF;
    display: block;
    text-decoration: none;
    margin: 0;
    padding: 9px 12px 10px 12px;
#mbwnav li {
    float: left;
    padding: 0;
#mbwnav li ul {
    z-index: 9999;
    position: absolute;
    left: -999em;
    height: auto;
    width: 160px;
    margin: 0;
    padding: 0;
#mbwnav li ul a {
    width: 140px;
#mbwnav li ul ul {
    margin: -25px 0 0 161px;
#mbwnav li:hover ul ul, #mbwnav li:hover ul ul ul, #mbwnav li.sfhover ul ul, #mbwnav li.sfhover ul ul ul {
    left: -999em;
#mbwnav li:hover ul, #mbwnav li li:hover ul, #mbwnav li li li:hover ul, #mbwnav li.sfhover ul, #mbwnav li li.sfhover ul, #mbwnav li li li.sfhover ul {
    left: auto;
#mbwnav li:hover, #mbwnav li.sfhover {
    position: static;
#mbwnav li li a, #mbwnav li li a:link, #mbwnav li li a:visited {
    background: #028490;
    width: 120px;
    color: #FFF;
    display: block;
    font:normal 12px Helvetica, sans-serif;
    margin: 0;
    padding: 9px 12px 10px 12px;
    text-decoration: none;
    border-bottom:1px dotted #333;
#mbwnav li li a:hover, #mbwnavli li a:active {
    background: #70b6bd;
    color: #FFF;
    display: block;     margin: 0;
    padding: 9px 12px 10px 12px;
    text-decoration: none;
 9. Save the template and you will have drop down menu added to your blog.

Customizing Above Widget

This part is completely optional. If the above provided plugin does not match the theme of your blog and want to customize to match template of your blog then change some Hex code listed below.
  • Change #464849 to change background color of navigation bar which is currently dark grey.
  • Change #028490 to change the color of tab on mouse hover.
  • Change #028490 to change the color of Drop down menu
  • Change #70b6bd to change the color of Drop down on mouse hover.

Any Question ?

If you find this plugin usefull or got into problem while adding this plugin to your blog then leave a comment below i will be glad to help you out. Dont forget to subscribe and follow us on google+,twitter and facebook.

Subscribe To Get FREE Tutorials!


Fade Cuyusuke on 23 February 2013 at 18:16 said...

hey can u please help me with my drop down,it doesnt show in front. it is in the back

nakib mbw on 25 February 2013 at 11:16 said...

Can you post a screenshot

Nishanth C R C R on 27 February 2013 at 02:17 said...

i cant change the colour of the main its in white colour wht i do please tell me here is the screen shot

nakib mbw on 7 March 2013 at 09:07 said...

Hey man you have given me screen shot of windows task manager and in order to change background of drop down menu change #464849 to any color you like.
Hope this help you!

heather smythe on 6 April 2013 at 20:45 said...

How do you make it so you can click on like 'about' and it will go to that page?

nakib mbw on 8 April 2013 at 21:39 said...

Replace # with the link where you want to redirect when someone click on About.

Randi Poole on 20 April 2013 at 14:33 said...

I followed this all to a T and for some reason my drop downs are not showing up...only the bar??

Matteo Colagrossi on 28 April 2013 at 13:22 said...
This comment has been removed by the author.
Arun Chaitanya on 3 June 2013 at 00:32 said...

Hey The Dropdown Menu Is not SHowing Up

Steph on 25 June 2013 at 22:53 said...

My dropdown menu is showing all of the tabs (haven't input links yet), but I can't get the sub-tabs under the tabs I want they just show up next to the rest...

bibin bibi on 17 July 2013 at 10:20 said...

My drop down sub menus are not visible. But, If I fix that bar in bottom of my website, that will visible. But, I fixed in top of my website, Sub menus are not visible :( Can you help me?
This is my website-

Prasanth Kumar on 23 July 2013 at 03:25 said...

how to change the font size in the tab

אביגיל on 31 July 2013 at 04:56 said...

i'm experiencing same problem.. did you figure this out?

אביגיל on 31 July 2013 at 04:58 said...

My dropdown menu is showing all of the tabs- I can't get the sub-tabs under the tabs I want they just show up next to the rest...
can you help me solve this?

Mursal Ahmed on 1 August 2013 at 18:19 said...

There is no ADD gadget option below Header.. ?

liz coll on 4 August 2013 at 14:39 said...

Is there a way to center the navigation bar?

Gentle Heart Foundation on 28 August 2013 at 04:23 said...

Did not get drop down list on hover, what may be wrong there, please advise me

ghchnepal on 29 August 2013 at 03:47 said...

Please see, my navbar is longer than its size

Amy Z Green on 28 October 2013 at 03:10 said...

I've used your CSS and HTML codes and managed to get it looking right, but I have the problem when the cursor hovers on the submenus and off the parent, the submenus then disappear so I can't click on them. Can you see what the problem might be?


Jerone Simon on 2 December 2013 at 16:44 said...

thanks for this one.. I use it for my categories.

Husein Rifai on 17 February 2014 at 18:52 said...

Thank you for your posting

Nessaa E. on 10 March 2014 at 07:08 said...

hi, this worked perfectly, but based on this code, how can i make the bar go across the entire blog?

Asif Rabbi on 9 April 2014 at 05:16 said...

Very important and necessary code. Thanks for sharing.
Very Informative Post. Thanks for sharing.
--->>Blogging Tips and Tricks

Javi Agüera on 4 May 2014 at 06:22 said...

How can I center the bar? Thanks!!!

Luneta Wanda on 6 May 2014 at 00:33 said...

Hey man you have given me screen shot of windows task manager and in order to change background of drop down menu change poker online #464849 to any color you like.
Hope this help you!

vipin Sheoran on 10 May 2014 at 10:52 said...

when we go on dropdown list list go to closed, what to do?

Zainab Saleem on 2 July 2014 at 10:38 said...

thankx it it working.. but how can i make that in center also the drop down menu is also not algined also how can i put this on all pages??

muhammad tehseen on 3 July 2014 at 11:55 said...

How remove the border of the tabs please....?
the white line between two tabs

Hassan Qadri on 11 July 2014 at 04:31 said...

Salam, thanks, works great but my drop down menus are'nt visible.....what should i do????

Bharat Goyal on 22 July 2014 at 08:05 said...

Amazing tips and tricks of pc world

Narendra Reddy on 23 July 2014 at 06:41 said...

Sir,There is no change in drop down,I mean there is no any drop down

Emily Andersan on 29 July 2014 at 01:34 said...

the drop menu is not working no dropping only normal menu

Manoj Sharma on 6 August 2014 at 04:03 said...

Phong Vũ on 13 August 2014 at 20:30 said...

thankx it it working.. Tri tan nhang - Suc khoe va lam dep - Lam dep khoe - Xin hoi

PRIYA PATEL on 1 September 2014 at 00:58 said...


earn money online in india

auto msg in facebook all friends wall

how to post all facebook friends wall

auto facebook group poster script

auto facebook group poster script


Cyber boy on 4 September 2014 at 22:04 said...

great tricks, like it a lot

Maybelline Garcia on 5 November 2014 at 06:31 said...

Hi. how can i center it? Thankssss

Anayet Sk on 15 May 2015 at 21:53 said...


Sunil Kumar on 9 July 2015 at 10:06 said...

Thanks for sharing…..
Get latest short cut tricks to achieve cut off marks in upcoming exam, Reasoning tricks, English Tips Techniques, Math short cut tricks, with memory techniques based on Time Management concept of read once and memorize forever to achieve good result and cut off marks. For getting latest news latest jobs admit cards results, scorecard, counseling schedule and document verificationof the candidates. You can download tips-tricks & General Awareness questions answers setsfor Upcoming Exam 2015 prepared from most popular books to the candidates to achieve cut off marks for Year 2015-16.

Azi Sharif on 22 July 2015 at 11:11 said...

Great menu, it works fine on the web. However, it's not showing up on my mobile device. Any suggestions?

hunxai on 6 June 2016 at 02:55 said...

Thank you so much for this post Continue reading.......
FTA channels
DVB Receivers
Free sports Channels
Master codes
Powervu keys
Biss keys
DTH Updates
Satellite Updates

Aaliyah on 1 July 2016 at 04:59 said...

Thank you. Your instructions were super, very clear.
i just used your instructions to make my own drop down menu!
Article Rewriter

Post a Comment

Newer Posts Newer Posts


Recent Posts


Recent Comments Widget

| My Bloggers World © 2009. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |