Update: We have published almost 9 more menus like this one. To get them all just use the search box and type drop down menu. If you wish to add the same menu to Blogger Template Designer templates then read this post -> Custom Drop Down menu
Live Demo

To add another tab just paste this code above </ul>
4. Backup your template and search for ,
Visit your Blogs to see a beautiful Navigation menu just below Header. Have Fun! :)
If you have any questions feel free to post them.
Why do you run after scripts such as jquery while you can use simple CSS and HTML to create beautiful drop down menus for your blog. I already shared a list of 30 Navigation menus and now you need to learn how to create a drop down menu in a navigation. I am sharing a simple code here that can be fully customize to make your preferred changes. So lets get to work!
How To Create a Drop Down Menu?
A drop down menu is needed when you have too much content on your blog or you love keeping things organized. To add a drop down menu to your blogger blogs do this:- Go To Blogger > Design > Page Elements
- Select a HTML/JavaScript Widget just under the header and paste the following code inside it,
<div id='mbtnavbar'>Replace # with your Page Links and the bolded text with relevant page names. The yellow highlighted code is responsible for the drop down menu. You can copy and paste it under any tab you want just before </li>
<ul id='mbtnav'>
<li>
<a href='#'>Home</a>
</li>
<li>
<a href='#'>About</a>
</li>
<li>
<a href='#'>Contact</a>
</li>
<li>
<a href='#'>Sitemap</a>
<ul>
<li><a href='#'>Sub Page #1</a></li>
<li><a href='#'>Sub Page #2</a></li>
<li><a href='#'>Sub Page #3</a></li>
</ul>
</li>
</ul>
</div>
To add another tab just paste this code above </ul>
<li>3. Now Go to Design > Edit HTML
<a href='#'>Tab Name</a>
</li>
4. Backup your template and search for ,
]]></b:skin>3. Just above it paste the code below,
/*----- MBT Drop Down Menu ----*/Make these changes:
#mbtnavbar {
background: #060505;
width: 960px;
color: #FFF;
margin: 0px;
padding: 0;
position: relative;
border-top:0px solid #960100;
height:35px;
}
#mbtnav {
margin: 0;
padding: 0;
}
#mbtnav ul {
float: left;
list-style: none;
margin: 0;
padding: 0;
}
#mbtnav li {
list-style: none;
margin: 0;
padding: 0;
border-left:1px solid #333;
border-right:1px solid #333;
height:35px;
}
#mbtnav li a, #mbtnav li a:link, #mbtnav li a:visited {
color: #FFF;
display: block;
font:normal 12px Helvetica, sans-serif; margin: 0;
padding: 9px 12px 10px 12px;
text-decoration: none;
}
#mbtnav li a:hover, #mbtnav li a:active {
background: #BF0100;
color: #FFF;
display: block;
text-decoration: none;
margin: 0;
padding: 9px 12px 10px 12px;
}
#mbtnav li {
float: left;
padding: 0;
}
#mbtnav li ul {
z-index: 9999;
position: absolute;
left: -999em;
height: auto;
width: 160px;
margin: 0;
padding: 0;
}
#mbtnav li ul a {
width: 140px;
}
#mbtnav li ul ul {
margin: -25px 0 0 161px;
}
#mbtnav li:hover ul ul, #mbtnav li:hover ul ul ul, #mbtnav li.sfhover ul ul, #mbtnav li.sfhover ul ul ul {
left: -999em;
}
#mbtnav li:hover ul, #mbtnav li li:hover ul, #mbtnav li li li:hover ul, #mbtnav li.sfhover ul, #mbtnav li li.sfhover ul, #mbtnav li li li.sfhover ul {
left: auto;
}
#mbtnav li:hover, #mbtnav li.sfhover {
position: static;
}
#mbtnav li li a, #mbtnav li li a:link, #mbtnav li li a:visited {
background: #BF0100;
width: 120px;
color: #FFF;
display: block;
font:normal 12px Helvetica, sans-serif;
margin: 0;
padding: 9px 12px 10px 12px;
text-decoration: none;
z-index:9999;
border-bottom:1px dotted #333;
}
#mbtnav li li a:hover, #mbtnavli li a:active {
background: #060505;
color: #FFF;
display: block; margin: 0;
padding: 9px 12px 10px 12px;
text-decoration: none;
}
- Change #060505 to change background color of the Main menu
- Change the yellow highlighted text to change font color, size and family
- Change #BF0100 to change the background of a tab on mouse hover
- Change #BF0100 to change the background color of the drop down menu
- Change #060505 to change the background color of drop down menu on mouse hover
Visit your Blogs to see a beautiful Navigation menu just below Header. Have Fun! :)
If you have any questions feel free to post them.
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 »
Many many thanks..............
ReplyDeletehttp://www.mrinmay1971.blogspot.com/
Hi Mohammad, I am a new follower. Thanks for this helpful article. I have a question.
ReplyDeleteIn the first set of code, where we are defining the menu and sub-menu names, the code shows an href before 'Sitemap' main menu, which I don't want.
Meaning, when a user clicks on say 'Sitemap' (as per this example), it should just expand the sub menus and not take the user to a page called 'Sitemap'. What do I do to remove the href element before 'Sitemap' in this coding?
Any help would be highly appreciated. Thanks again :)
happy to add this visit to see my blog its look amazing
ReplyDeletehttp://earning-seotips.blogspot.com/
Hey, I was wondering why i can't change the font size or style (to bold) without losing the drop down function. Everytime i change the font size or the font to bold, the sub menus disappear when you move the cursor over them. Also, How can i center the writing? Thank you!
ReplyDeletewww.theworldissimple.blogspot.ca
thanks for sharing
ReplyDeleteThank you for this helpful tutorial! I got the drop down menu to work, but now I'm unsure of how to link my existing blog posts, or insert them, into the different sub pages. Any ideas?
ReplyDeletei tried it and did what u instructed but drop-down menu but this is not working my new blog (http://pakistansnapss.blogspot.com/), plz guide me
ReplyDeletehelp me out ... showing navigation bar in both header and footer :(
ReplyDeleteThree days I have spent on this and it still........doesn't work Grrrrr
ReplyDeletebohat aala
ReplyDeleteHi there,
ReplyDeleteI've tried to create a drop down menu using several CSS codes (yours included- for some reason it didn't pick it up even when I started changing colours so I went back to my previous one) and I'm having the same problem with all of them.
When I hover my cursor over the sub menu it disappears and won't let me click. Sometimes it works but mostly it doesn't. I think this happened when I changed the HTML code swapping the submenus around on one parent so the writing would fit in the tab. If I send you the link of my blog and the HTML code would you have a look at it and tell me if I've done something wrong?
Maybe then I'll try your code and see if it works.
I used your CSS code and pasted it into my HTML code as you said but it is appearing as a list. I know it does that when you first apply it before you touch the code, but with yours it stays the same no matter what. Sorry I forgot to post the link of my blog: http://azgreen786.blogspot.co.uk/
DeleteHow about how to center the page text?!!!!! Nobody ever puts this info and it is the most difficult part to do. PLEASE TELL HOW TO CENTER THE PAGE TITLES!!!!!!!! This code is useless without this information. I've been trying everything and NOTHING works!!! Ugghh!!!!!!!
ReplyDeletethanks for this sir.thanks for helping us.plus 1!
ReplyDeleteHi, I tried this code. But its not working for me.can you please help me out. :-(
ReplyDeletethank you so much
ReplyDeletebig help
Thank you MBT. Among all tutorials, you're one of the best.
ReplyDeleteHello... I'm starting my first blog. In your tutorial about How To Create a Drop Down Menu, I just want to ask you where I should paste the script code in ]]>. I have tried but did not succeed, Can you explain me more details?
ReplyDeleteThanks for such a nice post, working fine for me
ReplyDelete.
Regards Subha S.
Admin "myearlymorningblog.blogspot.com"
i have created blog Menu and sub menu.please tell me how can i post content at the menu and sub menu (without Home page) cause my every post going to my Home page.what should i do now???tell me
ReplyDeletePlease Sir help me it cant show as drop down like in my blog what i can do please help me :(
ReplyDeletewhere to find this
ReplyDelete]]>
not able to make changes because of it....cant find please help
how to take backup of template?
ReplyDeleteplease help
Hello,
ReplyDeletethank you very much for the tutorial. I have followed all of your instruction and everything works perfectly except the drop down part, could you help me on this? I'm still new in coding so I have no idea what to do to make the drop down menu works :(
thank you,
Ninn
One more question (Im sorry)
ReplyDeleteI now could successfully make the drop down menu appear but when the sub menu disappears before I can even click it, is there any way to solve this?
thank you, again and sorry for the trouble :(
Ninn
Hi,
ReplyDeleteI have looked at all code and used the same and also applied under header in html.The problem is it shows complete drop down , but when I go to click on drop down links , it just disappears.Could you please check here on sample blog.
http://marutistotra.blogspot.in/
where i find "go to design" option
ReplyDeleteWill the current appearance (The color, font and shape) of my blog remain, when I add these sub tabs?
ReplyDeletei got a headache make sub menu ...
ReplyDeletemy blog is http://terapiozonbekasi.blogspot.com/
i want to make submenu for "Layanan Kami" - "Terapi Ozon"
Terapi Ozon Vagina and Terapi Ozon Anus, the position should below "Terapi Ozon"
i make like this
http://tinypic.com/r/10pqfe8/8
but it become one sub menu with the others
can u help?
thanjs buddy..how to side menu in drop down menu
ReplyDeleteThank you so much for this code it finally work.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHiya, great tutorial! This is my blog design (still working on it).
ReplyDeleteHow do i tweak the positioning of the sub-menus?
Hi. I already have Pages in my Blog. Just need to add menus and sub-menus under them. Would you Please help?
ReplyDeleteThanks! Really Really simple and useful! Just had to change float: left to float: right to support RTL! Will change style later
ReplyDeleteI was able to apply this to the Simple template in Blogger and modify it a bit to match my needs. But for the life of my I can't get it to stretch the entire length of my header. Any thoughts as to what I am doing incorrectly?
ReplyDeletehttp://meraustaad.blogspot.com/
Hey ... thankyou soooooo much for this tutorial, other dropdown menu tutorials have been driving me TOTALLY crazy for a whole week! Yours worked first time esp. as I had read down in the comments to put the code under in the HTML template...I could never get them to fully drop down before. Big mahoovise thankyou! I intend to give you a shout-out post and a link once I am properly up and running :)
ReplyDeleteOne little incy question though, the end button for home just kind popped up unexpectedly and I can't seem to edit it's appearance??
D
www.dollysdisco.blogspot.com
It works perfect!!! Thanks for the easy understandable post! I want to know how to add the drop down menu to link to a jump link like the different parts of a page?
ReplyDeletewow it's amazing, love it. i applied it through template html but it doesn't cover my complete 'outer wrapper',, can u tell me how to increase it's width?
ReplyDeleteCool , u have done great job thanks a lot for sharing this.
ReplyDeleteThe only problem is I have no Add Gadget option under the header it is only available for the side bar and bottom of page :(
ReplyDeletethank U so much... it's so simple...
ReplyDeletethis tutorial is awesome i got half of the features for my blog from you thanx a lot and i have also added this dropdown menu in my blog however i m having the same problem as @alex, that is if i increase the size of fonts from 12px to 13px or any other the dropdown menu disappears when i hover mouse on it. plz tell me how to solve this problem.
ReplyDeletemy blog: http://examcornerpk.blogspot.com
hi i saw your website and its really great. today is december 2015 going to 2016 and this my first time to have a blogsite. what i mean is i am having hard time. i am having a problem with links of sub menus and the color. can u pls help me. thank you
ReplyDeleteHi, my menus are up, but no drop down boxes, not sure what I have done wrong, I will work on renaming them all now, but I need help converting to drop boxes, please, love your tutorials they seem so easy now I feel like an idiot. thanks www.costaricahappy.com
ReplyDeleteHi,
ReplyDeleteThanks for your help. I was trying to add drop down menu, Your tutorial is working but I can't add sub menus under a sub menu. Can you help me please??
ReplyDeletemy sub menus get hidden when i am in other page or labels. sub menu get go downward than that page, only working on home page why please give some ideas?
Hello, I would like to put a submenu in my page but I want the same design. I dont want to change it. I just wanted to add the submenu. Please Help.
ReplyDeleteHi! I've been trying to get the menu to work however I can't make the menu colour the same as the tab colour.... also how do I get rid of the black lines in between the tabs and how do I change the height of the drop-down menu? Website:http://cgameworld.blogspot.com/
ReplyDeleteThank You!
How to change fonts???
ReplyDeletehi sir my blog templet for awesome inc aa tempalet me yah koD is not working then Travel templet me work karata hai to awesome inc templet ke liye kod ya kod lagaane ka tarika bataie
ReplyDeletewow tymz for this trick nd now i want to link videos in that dropdown menu . plz suggest me how to do
ReplyDeleteHi, Great help, you made life very simple for non professional, just two question and hope will get the answer soon. 1. horizontal navigation menus given on above link is complete set or it need be used with above mentioned codes and second seo is giving error of too many java script and csc code, will this have impact on indexing. may i request to review my blog, have submit my request on your site for customisation but not got any reply on same.
ReplyDelete