![]() |
Ghost HeX |
The menu that I’ve created will look like above image:
How to add drop down menu to Blogger?
You can easily add this beautiful drop down menu to any blogger template, just follow below steps to do so:
margin:0;
width:auto;
}
#mymenu ul {
margin:0;
padding:0;
line-height:30px;
}
#mymenu li {
margin:0;
padding:0;
list-style:none;
float:left;
position:relative;
background:
}
#mymenu ul li a {
text-align:center;
height:30px;
width:150px;
display:block;
color:#000;
font-family:”Comic Sans MS”, cursive;
text-decoration:none;
color:#FFF;
border:1px solid #FFF;
text-shadow:1px 1px 1px #000;
}
#mymenu ul ul {
position:absolute;
visibility:hidden;
top:32px;
}
#mymenu ul li:hover ul {
visibility:visible;
z-index:9999;
}
/*Menu hover color can be changed*/
#mymenu li:hover {
background:
}
/*the color & Background Color of Links within menu*/
#mymenu ul li:hover ul li a:hover {
color:#000;
background:#13B20D;
}
/* You can change the color for main menu*/
#mymenu a:hover {
color:
}
.clearFloat {
clear:both;
margin:0;
padding:0;
}
#mymenu ul li {
display: inline;
}
Save your template and you’ve added the CSS3 part of the drop down menu to your blog. Now add an HTML/JavaScript widget from your blog’s Layout section and paste below code inside that widget:
<div id=”mymenu”>
<ul>
<li> <a href=”#”>Web Designing</a>
<ul>
<li><a href=”#”>HTML</a></li>
<li><a href=”#”>CSS</a></li>
<li><a href=”#”>JavaScript</a></li>
<li><a href=”#”>Dreamweaver</a></li>
<li><a href=”#”>Blogger</a></li>
<li><a href=”#”>WordPress</a></li>
</ul>
</li>
</ul>
<br class=”clearFloat” />
</div>
<div id=”mymenu”></div> tag and before the <br class=”clearFloat” />.
Over to you:
I’m continuously working to produce more web designing projects and freebies for you, however, let me know how was this menu and if you liked this then kindly share it with your friends, and do comment if you have questions. Take care.
Regards, Ghost HeX
Post a Comment