After My Previous Article Make a Popup Subscribe Like aweber, I’m Back here With another Supercool Article About Cool Css3 Navigation In Blogger. Again Thanks To Mohammad Mustafa Sir For Making It Approved. This amazing drop down menu is created by Catalin Rosu and uses no images or scripts at all! We will be sharing a modified version which may work perfectly with Blogger. Its pure power display of CSS3 . It is really Cool and Professional Widget For Your Blog Which will really change the appearance of Your Blog and Make it trendy and attractive. It is very Easily Integrated in your BLOG.
Why Choose This Menu?
This Widget is Simple, Supercool And The Main Part is that It Doesn’t Needs Any jQuery or JavaScript. It uses no images at all and loads extremely fast. The previous CSS3 Menu that we shared made use of images and therefore took few seconds to load but this one is far ahead in quality load time. It’s a sure thing that CSS3 features like transitions, animations and transforms can add extra spice to your designs. In this article you will see how you can build an awesome CSS3 animated dropdown menu with some of these cool features.
Add it to Blogger
This Navigation Uses Css3 And Has A Smooth Scrolling Effect Which Makes It Unique And Special. Have Fun and Enjoy it By Adding In Your Blog.To Enable This You Need To Do The Following :
- Go To Blogger > Design
- Click on "Add a Gadget"
- Choose HTML/Javascript widget
- Paste the following code inside it
<style>The widget is extremely easy to be edited. To change links title simply replaced the bolded text with your page titles and replace the hash sign (#) with respective links.
/*------ CSS3 Drop Down Menu By MBT (www.mybloggertricks.com)---------*/
#mbt-menu, #mbt-menu ul {
margin: 0;
padding: 0;
list-style: none;
}
#mbt-menu {
width: 960px;
margin: 60px auto;
border: 1px solid #222;
background-color: #111;
background-image: -moz-linear-gradient(#444, #111);
background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
background-image: -webkit-linear-gradient(#444, #111);
background-image: -o-linear-gradient(#444, #111);
background-image: -ms-linear-gradient(#444, #111);
background-image: linear-gradient(#444, #111);
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-shadow: 0 1px 1px #777;
-webkit-box-shadow: 0 1px 1px #777;
box-shadow: 0 1px 1px #777;
}
#mbt-menu:before,
#mbt-menu:after {
content: "";
display: table;
}
#mbt-menu:after {
clear: both;
}
#mbt-menu {
zoom:1;
}
#mbt-menu li {
float: left;
border-right: 1px solid #222;
-moz-box-shadow: 1px 0 0 #444;
-webkit-box-shadow: 1px 0 0 #444;
box-shadow: 1px 0 0 #444;
position: relative;
}
#mbt-menu a {
float: left;
padding: 12px 30px;
color: #999;
text-transform: uppercase;
font: bold 12px Arial, Helvetica;
text-decoration: none;
text-shadow: 0 1px 0 #000;
}
#mbt-menu li:hover > a {
color: #fafafa;
}
*html #mbt-menu li a:hover { /* IE6 only */
color: #fafafa;
}
#mbt-menu ul {
margin: 20px 0 0 0;
_margin: 0; /*IE6 only*/
opacity: 0;
visibility: hidden;
position: absolute;
top: 38px;
left: 0;
z-index: 9999;
background: #444;
background: -moz-linear-gradient(#444, #111);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
background: -webkit-linear-gradient(#444, #111);
background: -o-linear-gradient(#444, #111);
background: -ms-linear-gradient(#444, #111);
background: linear-gradient(#444, #111);
-moz-box-shadow: 0 -1px rgba(255,255,255,.3);
-webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
box-shadow: 0 -1px 0 rgba(255,255,255,.3);
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-webkit-transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-ms-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
#mbt-menu li:hover > ul {
opacity: 1;
visibility: visible;
margin: 0;
}
#mbt-menu ul ul {
top: 0;
left: 150px;
margin: 0 0 0 20px;
_margin: 0; /*IE6 only*/
-moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
-webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
box-shadow: -1px 0 0 rgba(255,255,255,.3);
}
#mbt-menu ul li {
float: none;
display: block;
border: 0;
_line-height: 0; /*IE6 only*/
-moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
-webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}
#mbt-menu ul li:last-child {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#mbt-menu ul a {
padding: 10px;
width: 130px;
_height: 10px; /*IE6 only*/
display: block;
white-space: nowrap;
float: none;
text-transform: none;
}
#mbt-menu ul a:hover {
background-color: #0186ba;
background-image: -moz-linear-gradient(#04acec, #0186ba);
background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
background-image: -webkit-linear-gradient(#04acec, #0186ba);
background-image: -o-linear-gradient(#04acec, #0186ba);
background-image: -ms-linear-gradient(#04acec, #0186ba);
background-image: linear-gradient(#04acec, #0186ba);
}
#mbt-menu ul li:first-child > a {
-moz-border-radius: 3px 3px 0 0;
-webkit-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
}
#mbt-menu ul li:first-child > a:after {
content: '';
position: absolute;
left: 40px;
top: -6px;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #444;
}
#mbt-menu ul ul li:first-child a:after {
left: -6px;
top: 50%;
margin-top: -6px;
border-left: 0;
border-bottom: 6px solid transparent;
border-top: 6px solid transparent;
border-right: 6px solid #3b3b3b;
}
#mbt-menu ul li:first-child a:hover:after {
border-bottom-color: #04acec;
}
#mbt-menu ul ul li:first-child a:hover:after {
border-right-color: #0299d3;
border-bottom-color: transparent;
}
#mbt-menu ul li:last-child > a {
-moz-border-radius: 0 0 3px 3px;
-webkit-border-radius: 0 0 3px 3px;
border-radius: 0 0 3px 3px;
}
</style>
<ul id="mbt-menu">
<li><a href="#">Home</a></li>
<li>
<a href="#">Categories</a>
<ul>
<li><a href="#">CSS</a></li>
<li><a href="#">Graphic design</a></li>
<li><a href="#">Development tools</a></li>
<li><a href="#">Web design</a></li>
</ul>
</li>
<li><a href="#">Work</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
5. Click save and Done! :)
Need Help?
For any further help please feel free to post your queries in the comment box below. Its Very Handy, Light weight and Professional navigation Which you all can use to get rid of scripts and bulky menus that uses images and takes a lot of time to load.Don't forget to check:
This Is Me Sidharth, The Admin Of ILibrary
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 »
awesome design bro....
ReplyDeleteNice design without image.
ReplyDeleteKeep it up sir
Superb! :)
ReplyDeletehow to remove my blog drop down menu and how to insert above drop down menu in to my blog ....i am useing Robusta Blogger Template .....my web is www.hiapics.co.cc
ReplyDeletevery nice article.
ReplyDeleteShayari n sms Blog
another good article from you Sid. :)
ReplyDeleteDear Freind,
ReplyDeleteThanks for this beautiful/easy tool i like this. the problem which i am facing is what Mr. Shoaib is facing "When i apply this to my blog its drop down menus hide in tmeplate" but when i keep this widget just above the blog post it works perfectly. please tell me how to keep this widget below pages in blogger.
my blog address is : http://latestupdatesofincometax.blogspot.com/
Assalam Mustafa... i have problem same with Praveen Kumar, Help me!!! my blog: d-t3xfa.blogspot.com
ReplyDeleteHallo Mustafa, I Succed install this menu at my blog. now, i want to change the width and add some menu again because now installed 8 options.. i want 10 options, how???
ReplyDeleteHello Mustafa and congratulations for your job
ReplyDeleteYou have sub menu only after the "CATOGORIES" and I want to add another one submenu after "WORK". Is it possible and if yes how can i do??
Thanks
Hello
ReplyDeleteI've got a problem with the drop down menu, could you help me.
It doesn't drop down when you put your courser on it.
please help me.
email:
bruetalsociety@googlemail.com
blog
bruetalsociety.blogspot.com
Thanks for sharing but i think it's not work on IE (CSS3)
ReplyDeletethank for post
ReplyDeleteLike other readers I saying, the drop down list is hidden covered by the blog because it's in a widget. Is there an easy fix for this? Such as maybe changing the z-index for the widget?
ReplyDelete@Valin
ReplyDeleteWorks with IE9 pal :)
@riley
Replace the following code in your widget code:
<ul>
<li><a href="http://www.rileyadamvoth.com/p/tragedy-fortunate.html">Tragedy Fortunate</a></li>
<li><a href="#">Five Seventeen</a></li>
</ul>
</ul>
with this:
<li><a href="http://www.rileyadamvoth.com/p/tragedy-fortunate.html">Tragedy Fortunate</a></li>
<li><a href="#">Five Seventeen</a></li>
</ul>
See if it works. Z-index is already set to 9999 which will bring it at front of all other elements. The problem with your code is related to some other problem. Try and let me. :)
Hey thanks so much for replying. Shortly after I posted the question I figured it out. It couldn't be posted as a gadget, but it worked when I put it in my template and worked on it some.
DeleteYour site has helped me so much as I've built my blog one piece at a time. :) Thanks for all your tutorials! I'm definitely going to donate to you for your work. Great job.
I placed this code in my blog at the top gadget but the drop menu is not visible. please do help me...
ReplyDeleteGet a Translator widget with 36v languages.
ReplyDeletehttp://www.fblatest.in/2012/02/google-translate-widget-with-36.html
if u like it then, subscribe us for daily fresh updates.
When I use this CSS in my blog (http://viskcorp.blogspot.com), it has a problem in IE8 with Compatibility View button. Phrases in each list item ("li") does not separate to rows. They stuck together. Please help me.
ReplyDeleteThanks, very useful.
ReplyDeleteI have used this in my blog http://www.alternativeeden.com/ and have changed the colours to fit.
However is it posible to have 2 different highlight text colours.
i.e on roll over for top level text to change to (in my case orange) and then for the drop down text to stay white?
I use the thesis blogger template of Anup, but the dropdown menu don't display well on IE. I applied this post for my blog and optained the dropdown menu, which shown well on IE. Thank you very much.
ReplyDeletebhai.....thanks, m try your post in my blog.
ReplyDeletesoft-09.blogspot.in.
bhai plz visit my blog and give me some feedback
For those with the problem of dropdown menu that not appear (hidden), maybe because you are using a new theme layout in blogger, do the following:
ReplyDeletebelow: #mbt-menu {
put:
overflow:visible;
I think that's it!
Sorry! My portuguese is better than my english. LOL!
Marco
Thanks you so much !
ReplyDeleteHi, thanks for the menu. It works great. I would, however, like to change the colour scheme and the width of the drop-down menus to fit larger text. I don't know much about HTML5 or CSS so I don't know what to change to fix these minor points. Any help would be greatly appreciated.
ReplyDeleteLes
This comment has been removed by the author.
ReplyDeletethanks bro..thanks very much..:)
ReplyDeleteI made mods to fix the colours and sizes of the li entries. But, I find that on IE8 the menu loses focus after about 3 entries down - i.e. move to the fourth entry and the drop-down part goes away. I added 'overflow: visible'. It works fine with Chrome and Firefox on WinXP and on Linux. Just IE is the problem (isn't it always?).
ReplyDeleteAlso, the gradient doesn't seem to work on IE either. The menu is completely flat. It's a shame because, otherwise, it is a great menu.
I face the same problem while added a menu it got hide and somehow I managed to make it available using "overflow:visible;" but still its showing half of the drop down contents. Also behind the menu I got a white screen.
ReplyDeleteMy Blog is - http://dynamicbest.blogspot.in/
please advice.
In addition I checked with SIMPLE template and it worked fine but with Awesome INC. template I got above issues. so is this not compatible with Awesome INC. template ?
ReplyDeleteI have fixed the issue with the cutted menu! i have removed the css tag in: .tabs-outer (it's the header), there you must disable: overflow: hidden;
ReplyDeletePlease tell me if it works! Have a nice day. juri
thank u very much very nice menu :) solved all problems :D
DeleteAwesome, thanks for this article. But, sir I have a little problem. My blog has a green template and this black menu bar wont be suitable for my template. Could you tell me how can I properly change the background color. Waiting for ur reply.....
ReplyDelete@tim
ReplyDeleteFor changing the background colours do this tim:
For change navigation main background colour edit the bolded parts:
#mbt-menu {
width: 960px;
margin: 60px auto;
border: 1px solid #222;
background-color: #111;
background-image: -moz-linear-gradient(#444, #111);
background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
background-image: -webkit-linear-gradient(#444, #111);
background-image: -o-linear-gradient(#444, #111);
background-image: -ms-linear-gradient(#444, #111);
background-image: linear-gradient(#444, #111);
To change the drop down menu colour edit:
#mbt-menu ul {
margin: 20px 0 0 0;
_margin: 0; /*IE6 only*/
opacity: 0;
visibility: hidden;
position: absolute;
top: 38px;
left: 0;
z-index: 9999;
background: #444;
background: -moz-linear-gradient(#444, #111);
background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
background: -webkit-linear-gradient(#444, #111);
background: -o-linear-gradient(#444, #111);
background: -ms-linear-gradient(#444, #111);
background: linear-gradient(#444, #111);
To change the drop down menu colour on mouse hover edit:
#mbt-menu ul a:hover {
background-color: #0186ba;
background-image: -moz-linear-gradient(#04acec, #0186ba);
background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
background-image: -webkit-linear-gradient(#04acec, #0186ba);
background-image: -o-linear-gradient(#04acec, #0186ba);
background-image: -ms-linear-gradient(#04acec, #0186ba);
background-image: linear-gradient(#04acec, #0186ba);
}
I juts hope this answers all your questions. :)
This comment has been removed by the author.
ReplyDeleteMany thanks for this! Due to the template I used I ended up putting it in the source, but srtesco's hint of overflow:visible did help while I was setting up.
ReplyDeleteI put the code but only one sub menu is visible and not all! I mean the sub menu tabs are not displaying and I've put overflow to visible also. Please help. Visit wwww.oxylearing.com
ReplyDeletewould love to add this drop down menu to my blog but seems it does not work with the awesome inc template...or am i missing something!
ReplyDeleteif this works better for my template by adding it in another way (in the html instead of widget) would someone be kind enough to explain how i do that...thank you.
Hi Janice, curious if anyone helped you with this, I see it was over 3 years ago, but I need help with this same topic
DeleteThanks
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteHow can I center the drop down menu on the page? Thanks!
ReplyDeletehow to post thing under the menu tittles???
ReplyDeleteThanks for your work, with the explainations, I'm starting to understand how HTML and CSS works, and specifically in Blogger !!
ReplyDeleteBut as others, I still have an issue with the drop down consistently showing behind the posts under IE9.
I tried everything I could think of for hours, no luck.
It's working great on firefox others though !
Do you have any explaintion for this ?
Hi Mohammad, I love the menu, thanks for sharing. One problem I have come across is that it does not load at all on an iPad. Are you aware of this issue and have any ideas to resolve it, I'd be happy to test any ideas if you have some.
ReplyDeletehow to delete previous drop down menu ??
ReplyDeleteHello Mohammad,
ReplyDeleteThis menu is great but fails to work in IE do you have any solutions??
Hello,
ReplyDeleteI was trying to use this drop down menu, I found that when i place the same piece of code on header and on column, the header one will looks wrong and the one on column looks right to me. Is that anything due to blogspot's template, and if anyone know how to fix it. Thanks very much.
My testing blog: http://oursecretcafetesting.blogspot.hk/
Hi Mohammad
ReplyDeleteThe drop down menu gets hidden in Awesome Inc template.
tried what they say in the comments but its still not showing
Please help
just went through the comment again and It works now!
ReplyDeleteThanks
How do I add a search bar on the right of the menu bar?
ReplyDeletePlease Help
This comment has been removed by the author.
ReplyDeleteseems like Mohammad is a lot busy. Can anyone else tell me how to add a search box to the right end of the menu bar?
ReplyDeleteThanks.
I solved my queries from your comments and now my menu works perfect. Thanks!
ReplyDeleteTake a look:
http://www.se7enbet.com/
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteLoved your post..!
ReplyDeleteBut i got one question..
How can we make this a multilevel list..??
@srtresco
ReplyDeleteThanks
Sir i have used this template and is looking awesome..Thanks..
ReplyDeleteI need help !!
I have made 1 more drop down like 1 is already named "categories" which has CSS,Web design etc..
please see this first
http://prntscr.com/yfthh
So here on socialize us .. i just add "#" instead of link
and in like us on facebook i want to put my facebook url but it gets add with my blog'g adress like this
http://getfullversionsoftwares.blogspot.in/facebook.com/getfullversionsoftwares
and i want like this
facebook.com/getfullversionsoftwares
PLZ HELP ME !
@Shubham Gupta
ReplyDeleteSir please reply
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletebro i m having a problem the dropdown menu is not visibel what to see at http://www.hdcartooninhindi.blogspot.in/
ReplyDeleteI face the same problem while added a menu it got hide and somehow I managed to make it available using "overflow:visible;" but still its showing half of the drop down contents. Also behind the menu I got a white screen.
ReplyDeletemy blog is -hdcartooninhindi.blogspot.in plzzzzzz somedy help me
How can i write with small letters?
ReplyDeleteis it possible to widen the drop down menu parts to fit links with longer titles or even make the title wrap around if they don't fit the width?
ReplyDeleteThanks!!! Will apply it later :)
ReplyDeleteI don't understand what to link post link address or page link i tried both but it didn't work. please help me
ReplyDeleteHello sir I want to adjust it to the left side but it is in the centre .
ReplyDeletePlease help
Waiting for your reply !!!!!!!!!!!!
DeleteHi, how do I add two drop down menus? I can't seem to get two just one.
ReplyDeleteHey Bro, how to add one more hierarchy ... I mean sub menu to sub menu ....
ReplyDeleteI love this menu!! I have used in on 2 sites now. I am curious if we can get it in vertical for use in right or left sidebar?
ReplyDelete