It is always fun to learn and explore the new standards introduced for CSS. With growing development in HTML5 and CSS3, heavy scripts and flash tools are pushed back. This Mac-like multi-level drop down menu that we will learn to create and how to add it to Blogger is solely based on Pure CSS3 with no jquery used at all! It uses simple box-shadow, text-shadow and border-radius properties. It is compatible with all major browsers like FireFox, Chrome and Safari. Since IE7+ always lack compatibility with CSS3 therefore only the rounded borders will not render in IE7. I have kept the installation extremely easy. You just need to copy and paste the code. This Menu is provided by webDesignerWall guys and it is widgetized and made compatible with Blogspot blog platform by MBT.
Add multi-level drop down menu To Blogger
The steps are as usual kept cute and simple. Follow these easy steps:- Go To Blogger > Design
- Choose a HTML/JavaScript gadget
- Paste the giant code below inside it,
<style>The best part about this menu is that you can give it any colour you want because here we are using a transparent gradient image which can take any colour you want. Like:
#MBT-Container {
font: normal 1em Arial, Helvetica, sans-serif;
width:100%; float:left;
}
a {
color: #333;
}
#nav {
margin: 0;
padding: 7px 6px 0;
background: #0080ff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6u-acusBXtyjKwPJiNBpflQbRXLUzxvnmBqysvT3dS0M687M5r4a9UyjXs9-e4EyCvHkx8sVPQlc3TTMNE_J8juB8pI5l6-TnEEbKvXJ4oO2QKWTe-mSk-MfSIncTUwaifI8xsqKHqc/s1600/gradient.png) repeat-x 0 -110px;
line-height: 100%;
border-radius: 2em;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#nav li {
margin: 0 5px;
padding: 0 0 8px;
float: left;
position: relative;
list-style: none; }
/* main level link */
#nav a {
font-weight: bold;
color: #e7e5e5;
text-decoration: none;
display: block;
padding: 8px 20px;
margin: 0;
-webkit-border-radius: 1.6em;
-moz-border-radius: 1.6em;
text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#nav a:hover {
background: #000;
color: #fff;
}
/* main level link hover */
#nav .current a, #nav li:hover > a {
background: #666 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6u-acusBXtyjKwPJiNBpflQbRXLUzxvnmBqysvT3dS0M687M5r4a9UyjXs9-e4EyCvHkx8sVPQlc3TTMNE_J8juB8pI5l6-TnEEbKvXJ4oO2QKWTe-mSk-MfSIncTUwaifI8xsqKHqc/s1600/gradient.png) repeat-x 0 -40px;
color: #444;
border-top: solid 1px #f8f8f8;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
box-shadow: 0 1px 1px rgba(0,0,0, .2);
text-shadow: 0 1px 0 rgba(255,255,255, 1);
}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
background: none;
border: none;
color: #666;
-webkit-box-shadow: none;
-moz-box-shadow: none;
}
#nav ul a:hover {
background: #0080ff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6u-acusBXtyjKwPJiNBpflQbRXLUzxvnmBqysvT3dS0M687M5r4a9UyjXs9-e4EyCvHkx8sVPQlc3TTMNE_J8juB8pI5l6-TnEEbKvXJ4oO2QKWTe-mSk-MfSIncTUwaifI8xsqKHqc/s1600/gradient.png) repeat-x 0 -100px !important;
color: #fff !important;
text-align:left;
-webkit-border-radius: 0;
-moz-border-radius: 0;
text-shadow: 0 1px 1px rgba(0,0,0, .1);
}
/* dropdown */
#nav li:hover > ul {
display: block;
}
/* level 2 list */
#nav ul {
display: none;
text-align:left;
margin: 0;
padding: 0;
width: 185px;
position: absolute;
top: 35px;
left: 0;
background: #ddd url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6u-acusBXtyjKwPJiNBpflQbRXLUzxvnmBqysvT3dS0M687M5r4a9UyjXs9-e4EyCvHkx8sVPQlc3TTMNE_J8juB8pI5l6-TnEEbKvXJ4oO2QKWTe-mSk-MfSIncTUwaifI8xsqKHqc/s1600/gradient.png) repeat-x 0 0;
border: solid 1px #b4b4b4;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav ul li {
float: none;
margin: 0;
padding: 0;
}
#nav ul a {
font-weight: normal;
text-shadow: 0 1px 0 #fff;
}
/* level 3+ list */
#nav ul ul {
left: 181px;
top: -3px;
}
/* rounded corners of first and last link */
#nav ul li:first-child > a {
-webkit-border-top-left-radius: 9px;
-moz-border-radius-topleft: 9px;
-webkit-border-top-right-radius: 9px;
-moz-border-radius-topright: 9px;
}
#nav ul li:last-child > a {
-webkit-border-bottom-left-radius: 9px;
-moz-border-radius-bottomleft: 9px;
-webkit-border-bottom-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
}
/* clearfix */
#nav:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
#nav {
display: inline-block;
}
</style>
<div id="MBT-Container">
<ul id="nav">
<li class="current"><a href="#">Home</a></li>
<li><a href="#">Blogger Tricks</a>
<ul>
<li><a href="#">Sub-Row</a>
<ul>
<li><a href="#">Sub Sub-Row 1
<li><a href="#">Sub Sub-Row 1</a></li>
<li><a href="#">Sub Sub-Row 1</a></li>
<li><a href="#">Sub Sub-Row 1</a></li>
</a></li></ul>
</li>
<li><a href="#">Sub-Row</a>
<ul>
<li><a href="#">Sub Sub-Row 2</a></li>
</ul>
</li>
<li><a href="#">Sub-Row</a></li>
<li><a href="#">Sub-Row</a></li>
</ul>
</li>
<li><a href="#">Multi-Levels</a>
<ul>
<li><a href="#">Team</a>
<ul>
<li><a href="#">Sub-Level Item 1</a></li>
<li><a href="#">Sub-Level Item 1</a>
<ul>
<li><a href="#">Sub-Level Item 11</a></li>
<li><a href="#">Sub-Level Item 22</a></li>
<li><a href="#">Sub-Level Item 33</a></li>
</ul>
</li>
<li><a href="#">Sub-Level Item 1</a></li>
</ul>
</li>
<li><a href="#">Sales</a></li>
<li><a href="#">Another Link</a></li>
<li><a href="#">Department</a>
<ul>
<li><a href="#">Sub-Level Item 2</a></li>
<li><a href="#">Sub-Level Item 2</a></li>
<li><a href="#">Sub-Level Item 2</a></li>
</ul>
</li>
</ul>
</li><li><a href="#">Sitemap</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Create This »</a></li>
</ul></div>
<br/>
Now kindly make these customization changes:
- Each TAB can be edited by understanding the following simple HTML code,
<li><a href="#">TAB TEXT</a></li>In each case replace the hash sign (#) with your page URL/link and replace the text with your page title. I have kept the page titles unchanged in the code above so that you could easily edit them by seeing the demo.
- To change the color of the menu simply replace #0080ff with a colour of your choice. You may use our Color Generator tool
Need Help?
If you need extra help in removing rows or columns then please feel free to post your questions. Tell me the specific row and column so that I could share your preferred code in the comments. You can discus it as much with me as possible. This will help others to better understand on how to make further changes. Peace and blessings buddies. :)
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 »
Great Drop Down Menu And Also A Very Stylish Thanks For This.
ReplyDeleteAnother Good blogger Widget by MBT. :)
ReplyDeletedoes not working..
ReplyDeletechk it out here:http://freestuff4pc.blogspot.com/
HHhhmmm....
ReplyDeleteNice one...Thanks For it dude..
(^-^)..
great to see you back:)
ReplyDeletenice post...why don't you use the same in MBT?
hello freinds i have to creat a css drop down menu and put in my page it works good but it is look a page bottom left side so pls help me freinds how can edit my drop down menu in my blog center
ReplyDeletemy blog here:-http://riddik-worldhacker.blogspot.com
guys pls replay me
Thank you for finding it useful brothers. :)
ReplyDelete@skk
You are adding it to new blogger templates Please read the tutorial below only till step#2 and come back and try this one.
Templates by Blogger
@Aiman
I guess that's not a bad idea. But I will change few things when free. Thanks for suggesting. :)
@N!яaנ BαTнwaя✌
Please enclose your menu code between these two additional lines:
<div style="float:right">
YOur MENU CODE HERE
</div>
It will work just fine. :>
Great tutorial. Works... with the only limitation that the 'home' button stays always on, no matter which page you are on. Think has something to do with the
ReplyDeleteclass="current"
But his doesn't change when I go to another page / web address.
Did I miss something here? Is it not updating itself according to the page it is on like the standard 'pages' menu?
Perhaps you can help...
@viob
ReplyDeleteYou are right viob. For making that dynamic effect we would need some jacascript and since most CSS menus are based on static codes therefore we manually have to set one button (in most cases the Home) as the Active Button.
But I would look on how to add a small snippet of javascript to it to make things work even in these menus.
cool menu
ReplyDeleteHello Sir, I am a problem on my website. I was expecting the Code you provide will take effect on the upper portion above the 6 ads. But unfortunately it gone on the left side of the screen.
ReplyDeleteSir Mohammad,
ReplyDeleteHow can I apply it on my site. http://kennstop.blogspot.com/
I want to replace the Drop Down that can be found above the banners into my own.
* Home
* Posts RSS
* Comments RSS
* Edit
I have visited
ReplyDeleteI want to create a menu like this which you have created. This one is available on second line.
(Home CSS Codes Forums Tools JavaScript CSS Gallery)
I hope you understand what I am indicating you.
I have visited http://zailab.blogspot.com/
ReplyDeleteI want to create a menu like this which you have created. This one is available on second line.
(Home CSS Codes Forums Tools JavaScript CSS Gallery)
I hope you understand what I am indicating you.
tried putting this on my site but.. the dropdown doesn't fully show..
ReplyDeleteDear I like this post so much and I also made it for my website,
ReplyDeletedear I face a problem plz check my website http://www.channelspk.in/
the link list shows behind the featured post how I make it in front?
plz give urgent reply
http://gowallpapers13.blogspot.com/
ReplyDeleteHelp me Please my drop down list is not shown please tell me how can i fix it...
ReplyDeletehttp://zaheerassociates.blogspot.com/
Friend Mohammad, I am having some problem implementing your drop-down menu code.
ReplyDeleteNow it's not the actual editing of it or anything, but for some strange reason the 'drop down' part of this component does not display properly.
My website is www.comicbookandmoviereviews.com, please contact me via it when you can, and I will send you a screen shot of what is going on.
In turn, I am more than happy to promote your site via mine as a form of a thank you.
Kind regards my friend, and in your debt.
Jay
My dropdown list is blocked by posts. Now what to do?
ReplyDeleteI've got the same problem. The dropdown opens up behind the posts. What should I do to fix this ?
DeleteHello,
ReplyDeleteThe code works great, except I can not find a place for the widget. When I place the widget containing this code above other posts/widgets, it interferes with the drop down list. When I try to move it to the right/left of my page (making it vertical) the drop down list overlaps itself, making it unreadable. Is there a way to make this vertical with the drop down menu popping out to the right instead of straight down?
SIR MY THIS DROP DOWN IS NOT WORKING IN MY BLOG PLEASE CHECK...
ReplyDeleteWWW.WORLD-CAREER.BLOGSPOT.COM
salam,
ReplyDeletei sucessfully added the drop down menu,
it is showing but the menu doesnt come down,
I'm having some trouble with this one. For some reason the actual dropdowns fall behind my actual blog template. It's also not centered at the top
ReplyDeletehttp://betaeqd.blogspot.com/
For an example. Not too sure what to do there!
I have a photography blog and for about a month I am trying to place a proper menu but I just can't figure it out. I know some basic HTML and CSS editing but how do i proceed if I want the `Multi-Levels` tab to be a category in my blog...for example Macro or Landscape? I want that when I click `Macro` to show all the post that are categorised so. I really don't know what to do.
ReplyDeleteYou can check my blog at www.alextphoto.blogspot.com...it's in romanian so I don't think that you will understand something...:)
ReplyDeleteThanks a lot i use this trick in my blog
ReplyDeletehttp://quizvook.blogspot.in/
Thank you Sir, That's great subject from you!
ReplyDelete@Mohammad Mustafa Ahmedzaidrop down menu is not showing its sub tabs help me my blog www.pardhafun.blogspot.com
ReplyDeletei have placed it down in my blog
pls reply me
for all drop down problems replace this code /* dropdown */
ReplyDelete#nav li:hover > ul {
display: block;
}
/* level 2 list */
#nav ul {
display: none;
text-align:left;
margin: 0;
padding: 0;
width: 185px;
position: absolute;
top: 35px;
left: 0;
and put this
/* dropdown */
#nav li:hover > ul {
display: block;
z-index: 9999;
}
/* level 2 list */
#nav ul {
z-index: 9999;
display: none;
text-align:left;
margin: 0;
padding: 0;
width: 185px;
position: absolute;
top: 35px;
left: 0;
the sub meny is not visible ,,as it gets hide bihind the blog posts ,,plzz help
ReplyDeletehy wwww.teknxt.net iz my blog plzz do check it for tech updates ,,latest launches,,future technology and some funny tech picz ...hope you would enjoy reding my posts
ReplyDeleteVery fine stylish menu...but its not working properly. The drop-down menu is not showing properly. Plzz help. :)))
ReplyDeleteVery helpful though it's kind of tough!!!
ReplyDeleteThanks for the article!
Its Show Correctly On My Blog But The Dropdown Menu Was Not Show Correctly On My Blog What Is Going On...???
ReplyDeletePlease Help Me Thanks
I really like it! Thanx!
ReplyDeleteHowever I do have a little problem. My drop-down hide behind the wrapper and the first post.
How could I fix it?
This comment has been removed by a blog administrator.
ReplyDeletethats can not work perfecthly see this
ReplyDeletehttp://vishalsharmalife.blogspot.in
Assalamualaikum Ya muhammad
ReplyDeleteI try to used this code in my Blog
http://menggapaiprofitimpian.blogspot.com/
but not work properly. Please help me to fix it
Hi,
ReplyDeleteThanks for this amazing blog full of useful tips. Some time ago I have installed this drop down menu http://www.mybloggertricks.com/2011/07/create-drop-down-menu-in-blogger.html
but now I would like to add one more level to this one - is it possible?
Thanks in advance!
Ana
i used your drop menu its working properly but the sub groups column is going below my posts i cant see that dropped bar....its goining below my posts plese help me..!!!
ReplyDeleteSir,
ReplyDeleteI am unable to add this menu style to my template, sir can you please help me in adding this menu style to my blog i.e. (http://quickyportal.blogspot.in) i will be thankful to you
sir, your drop down menu works but the sub menu( what im mostly interested in) is not working please probvide the correct coding for it
ReplyDeleteHi the menu is good but the drop downs go directly behind my posts so you cant see them. How do we fix that
ReplyDeleteThanks
This comment has been removed by the author.
ReplyDeleteDid anyone ever figure out a solution to the problem of the submenus hiding behind the posts?
ReplyDeleteI have tried the fix posted in the comments but it hasn't helped.
ReplyDeletePlease take a look and advise!
http://rosetintedcreations.blogspot.co.uk/
Also how do I change the code so that the menu bar spans the whole width of the page?
Thanks for putting this code up on your blog it has been very helpful, I just don't know enough to sort out these niggles!
While I make it, according to steps you told me, the drop down menu come on the gadget but it is not coming on main screen.
ReplyDeleteKindly chk this one
www.orionmust.blogspot.com
dropdown menu = fixed
ReplyDeletejust put at head area
te6jiwaku.blogspot.com
The template is working fine. But as I hover the mouse over various sections(Tabs) the post beneath the menu bar starts to wobble. It keeps on moving up and down rapidly until I stop hovering the mouse.
ReplyDeletePlease tell me how to fix this issue.
Please reply as soon as possible.
Maybe you can suggest an answer after visiting my blog - aeroswap.blogspot.com
Remove float:left; from the CSS Code
Delete#MBT-Container {
font: normal 1em Arial, Helvetica, sans-serif;
width: 100%;
float: left;
}
Hi
ReplyDeleteI have got my sub pages all sorted (fantastic so easy thank you) but when I hover over the pages you cannot see the bottom of the hover box. This is my blog so you can see what I mean http://30waitakiri.blogspot.co.nz if you could please tell me how to sort this I would greatly appreciate it
Cheers Tanya
Try changing the z index of the box in the html script.
Deletez-index : 400; works fine but you may increase the number for better results.
Another mistake - It seems you placed the HTML just below the header.
DeleteTry placing it just above the posts sections. The width of this section is as much as that of the posts section.
This will work fine after adjusting the z-index as I said above.
Looks great and I congratulate you for trying it out! :)
ReplyDeleteNote
ReplyDeleteFor questions related to the menu Kindly post your queries at our forum for a quick reply with 24 hours
Blogger Help Forum
I like yhis very much ...
ReplyDeleteAnd I appropriate and fallow MBT...
I slso create this in my blog but it's dropdown menubar goes behind the body's screen!
what should I do?
Plz help me...
my blog address..
www.zpschoolhipparga.blogspot.in