8
comments
How to Add Drop Down Menu Widget in Blogger - Horizontal Menus (HTML+CSS)

Here is a list of 18 horizontal CSS drop down menus, adding drop down menus in blogger can benefit your readers to find out the intended posts of the blog with ease. There is nothing like widget for blogger menus, you suppose to add the menu with your own. To add drop down menu in blogger you need is just a little bit of CSS and HTML code and put that code at the right place in your blog and done.
Dropdown Menus in Blogger

We have a list of Horizontal CSS Drop down Menus for Blogspot Blogs, you need to choose the menu and add the code to your blog. you might have seen the article about How to Add Navigation menu in blogger on geek blogger.

Below is a Memorandum of Drop down Menus, you can add any menu from the list given in below image.

Dropdown Menusso lets start now introducing the menus one bye one, whichever you like just copy code and paste the code, you can also customize the menus online and then copy the code. Below Menus are from the Above image and menu numbers are 1 to 18 respectively.

1. Massive Blue Drop Down menu: Demo | Download Source
2. Sunrise Gloss: Demo | Download Source
3. Blue Dawn Drop Down: Demo | Download Source
4. Blue Center Drop Bar: Demo | Download Source
5. Black Center Drop Bar: Demo | Download Source
6. Blue Impression Drop Down Menu: Demo | Download Source
7. Green Impression Drop Down Menu: Demo | Download Source
8. Sunrise Gloss: Demo | Download Source
9. Blue Tabbed Drop Down: Demo | Download Source
10. Yellow Tabbed Drop Down Menu: Demo | Download Source
11. Tabbed Grey Drop Down: Demo | Download Source
12. Red Tabbed Drop Down: Demo | Download Source
13. Black Tabbed Drop Down: Demo | Download Source
14. Orange Tabbed Drop Down: Demo | Download Source
15. Simple Red: Demo | Download Source
16. Simple Black: Demo | Download Source
17. Simple Blue: Demo | Download Source
18. Simple Green: Demo | Download Source

- Select Any one menu from the above given list and download the .zip file which should contain HTML file, Images and CSS files for the menu.

3 Mandatory things you must have before going ahead.

  1. HTML File - Contains the code of the menu
  2. Images folder - Contains Images used in menu
  3. CSS file - Contains Style used in menu
Steps to Add Drop Down Menu Widget in Blogger
Note: Before making any changes to your template, take a full backup of your blogger template.
#Step 1. Log in to your Blogger Dashboard and Navigate to Design > Page Element.

Design-Page Element

#Step 2. Click on Add a Gadget > HTML/JavaScript link and insert the following type of code (You will get it from Downloaded HTML file) and click Save button.
<div class="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a id="current" href="#">Products</a>
<ul>
<li><a href="#">Drop Down CSS Menus</a></li>
<li><a href="#">Horizontal CSS Menus</a></li>
<li><a href="#">Vertical CSS Menus</a></li>
<li><a href="#">Dreamweaver Menus</a></li>
</ul>
</li>
<li><a href="/faq.php">FAQ</a>
<ul>
<li><a href="#">Drop Down CSS Menus</a></li>
<li><a href="#">Horizontal CSS Menus</a></li>
<li><a href="#">Vertical CSS Menus</a></li>
<li><a href="#">Dreamweaver Menus</a></li>
</ul>
</li>
<li><a href="/contact/contact.php">Contact</a></li>
</ul>
</div>


#Step 3. Now Drag & Drop that Widget to the top of the Blog Posts Section.

Add a Menu Gadget

How to Add CSS for Menu:

#Step 4. Now Navigate to Design > Edit HTML Section.

Design Edit HTML


- Find this type of code ]]></b:skin> and replace it with this type of CSS Code (You will get the .css file in your downloaded folder) :
.menu{
border:none;
border:0px;
margin:0px;
padding:0px;
font-family:verdana,geneva,arial,helvetica,sans-serif;
font-size:14px;
font-weight:bold;
color:8e8e8e;
}
.menu ul{
background:url(images/menu-bg.gif) top left repeat-x;
height:43px;
list-style:none;
margin:0;
padding:0;
}
.menu li{
float:left;
}
.menu li a{
color:#666666;
display:block;
font-weight:bold;
line-height:43px;
padding:0px 25px;
text-align:center;
text-decoration:none;
}
.menu li a:hover{
color:#000000;
text-decoration:none;
}
.menu li ul{
background:#e0e0e0;
border-left:2px solid #0079b2;
border-right:2px solid #0079b2;
border-bottom:2px solid #0079b2;
display:none;
height:auto;
filter:alpha(opacity=95);
opacity:0.95;
position:absolute;
width:225px;
z-index:200;
/*top:1em;
/*left:0;*/
}
.menu li:hover ul{
display:block;
}
.menu li li {
display:block;
float:none;
width:225px;
}
.menu li ul a{
display:block;
font-size:12px;
font-style:normal;
padding:0px 10px 0px 15px;
text-align:left;
}
.menu li ul a:hover{
background:#949494;
color:#000000;
opacity:1.0;
filter:alpha(opacity=100);
}
.menu p{
clear:left;
}
.menu #current{
background:url(images/current-bg.gif) top left repeat-x;
color:#ffffff;
}
]]></b:skin>

How to Add Images of Menu in Blogger:
- Before Saving the above CSS code you have to change image path URL given in red text above. you need to just need to upload it to the Picasa or in blogger and copy the generated HTML image Code and paste that code in Menu Code or CSS Code wherever applicable. (Upload images which you will get from \images folder) You can use either blogger, picasa, photobucket or any other image hosting services to host your menu images.

#Step 5. Save template and done!.

That's Done! Hope this Post will be helpful for Blogspot Users.

Note: If you want me to add any CSS menu to your blog or want Tutorial for adding any menu please comment Below the URL of that menu and your Blog Name + Link. I will Surely try to help you.
Best Luck Guys, If you have any difficulty while implementing this code don't hesitate to comment below. If you need any help please Leave a response.


8 Responses to "How to Add Drop Down Menu Widget in Blogger - Horizontal Menus (HTML+CSS)" - Leave a response

  1. Deideian November 23, 2010 at 7:09 AM
    hello, i have used this tips of drop down menu but the results turns out to be something different, i choose "blue impression drop down menu", but why did the background of my menu is white? no matter how much i try to mess with the codes but it still won't change a bit. i also want to change the position of menu into center. can you please help me?
  2. Piyush - Admin @ Blogger How To Tips November 23, 2010 at 7:33 AM
    @Deideian, You need to focus on three things.

    1)
    .menu {
    background:url("images/button1a.gif") repeat-x scroll 0 0 #FFFFFF;
    font-family:arial,verdana,sans-serif;
    height:40px;
    list-style:none outside none;
    margin:0;
    padding:0 0 0 32px;
    position:relative;
    }

    2)
    .menu li:hover > a.top_link span {
    background: url("images/button4.gif") no-repeat scroll right top transparent;
    }

    3)
    .menu :hover ul :hover ul :hover ul :hover ul ul {
    list-style:none outside none;
    text-align:left;
    }

    text i have make in bold above will resolve your problem, and i think you have uploaded images anywhere. the background color BLACK and That ALICE BLUE kind of color coming because of that .gif images. so you need to make change your css code accordingly as i have suggested above.

    Best luck.
  3. Piyush - Admin @ Blogger How To Tips January 11, 2011 at 12:30 AM
    @tricksmachine, Why is that so? what is the issue?
  4. Preparegk January 14, 2011 at 4:07 PM
    Sir, very nice post

    How to add sub buttons to the drop down menu..

    i.e: In our blog you created at menu like this
    "Blogger" ---> Blogger Widgets ---> Menu Widgets---> Horizontal css menu.

    You provided the code upto only drop down mwnu.
    ie: "Blogger" ---> Blogger Widgets


    How to add sub tabs to these like

    "Blogger" ---> Blogger Widgets ---> Menu Widgets---> Horizontal css
  5. Piyush - Admin @ Blogger How To Tips January 15, 2011 at 7:34 PM
    I am using menu from http://apycom.com, you can go and find some awesome menu from there, however implementing method is the same.
  6. sotyarei January 23, 2011 at 11:36 AM
    Hi
    Thanks for this website its pretty useful!
    Unfortunateely, It seems that my scroll menu is under my template. Is it possible to put a z-index into that?

    Here my page

    http://runescapeonlinegamefornoobs.blogspot.com/

    Thanks for the help
  7. Piyush - Admin @ Blogger How To Tips January 23, 2011 at 11:45 AM
    @sotyarei, yes you can add z-index:[value] to show it overlapped.

Post a Comment

^ Scroll to Top