Laman

Saturday, August 4, 2012

Home » » Cara Membuat Menu Drop Down di Bawah Header Blog

Cara Membuat Menu Drop Down di Bawah Header Blog

Menu drop down adalah adalah menu pada blog yang yang jika di sentuh memunculkan menu-menu yang lain. Menu ini banyak macamnya, ada yang dipasang pada header blog, sidebar blog ataupun pada tempat-tempat yang lain.
Kali ini kita akan membahas cara membuat menu drop down secara otomatis yang terletak pada header blog, tepatnya dibawah header blog. Seperti menu header yang ada pada “PSYCHOLOGYMANIA” ini.
Langsung saja kita coba sobat: 
  1. Masuk pada Design --- edit HTML 
  2. Jangan lupa kopi kode HTML sobat terlebih dahulu, jangan sampai ada kesalahan 
  3. Beri tanda centang pada “Expand Widget Templates ” 
  4. Kopi paste kode dibawah ini tepat diatas ]]></b:skin>
#catmenucontainer{
height:33px;
width:1000px;
margin:0 auto;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYruYTjSYfTQBurdSgphdekr4xutaeg0QXMxqhjamsjkLUglb9a8E6r5AhfXI6WU71xp5eDWZLwHa3cbc6aq3xYpgW606z2HsRcYRLT2jPRUia-DFVIS0NTgJhx6PgZnWIbhbHjfe7Htf-/s1600/2.gif) repeat-x;
display:block;
padding:0px 0 0px 0px;
font-size:12px;
font-family:"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;
font-weight:normal;
border-top:1px solid #252424;
}
#catmenu{
margin: 0px;
padding: 0px;
width:1000px;
background:#252525 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYg0nddczA_er3OWQaEhJx-d30w6xT8WnLOpb-XoUWFr6ZL8Vxd4eq_7Ex4KqrT4EGjEW04zPGLShui4WJDXpS7-5ctwkZ4_sVFyM7Mms62yKn6ODwpzOF4ZqAwAh7LFx_APexjIf8EJM0/) repeat-x;
height:33px;
}

#catmenu ul {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}

#catmenu li {
float: left;
list-style: none;
margin: 0px;
padding: 0px;
}

#catmenu li a, #catmenu li a:link, #catmenu li a:visited {
color: #fae7df;
display: block;
margin: 0px;
padding: 9px 10px 10px 10px;
}

#catmenu li a:hover, #catmenu li a:active {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9x0GJ3umYbElLcCTMt1Y9U_B0T5DScwK94TJYrLiTKWwMr6fGS-pBVpACZ_eVjC8xpCS7_iz0vlgGBvxLrMuU_JqwJtKVUIJh8i4klgzFO0cCKcLrrnbZUTAm0XtSYoooXm1mb5YNykjh/) repeat-x;
color: #fff;
margin: 0px;
padding: 9px 10px 10px 10px;
text-decoration: none;
}

#catmenu li li a, #catmenu li li a:link, #catmenu li li a:visited {
background:#ED4A05;
width: 150px;
color: #fae7df;
font-family:Tahoma,century gothic,Georgia, sans-serif;
font-weight: normal;
float: none;
margin: 0px;
padding: 9px 10px 10px 10px;
border-bottom: 1px solid #FF7800;

}

#catmenu li li a:hover, #catmenu li li a:active {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9x0GJ3umYbElLcCTMt1Y9U_B0T5DScwK94TJYrLiTKWwMr6fGS-pBVpACZ_eVjC8xpCS7_iz0vlgGBvxLrMuU_JqwJtKVUIJh8i4klgzFO0cCKcLrrnbZUTAm0XtSYoooXm1mb5YNykjh/) repeat-x;
color: #fff;
padding: 9px 10px 10px 10px;
}

#catmenu li ul {
z-index: 9999;
position: absolute;
left: -999em;
height: auto;
width: 170px;
margin: 0px;
padding: 0px;
}

#catmenu li li {
}

#catmenu li ul a {
width: 140px;
}

#catmenu li ul a:hover, #catmenu li ul a:active {
}

#catmenu li ul ul {
margin: -34px 0 0 170px;
}

#catmenu li:hover ul ul, #catmenu li:hover ul ul ul,
#catmenu li.sfhover ul ul, #catmenu li.sfhover ul ul ul {
left: -999em;
}

#catmenu li:hover ul, #catmenu li li:hover ul,
#catmenu li li li:hover ul, #catmenu li.sfhover ul,
#catmenu li li.sfhover ul, #catmenu li li li.sfhover ul {
left: auto;
}

#catmenu li:hover, #catmenu li.sfhover {
position: static;
}

5.    Cari Kode <div id='content-wrapper'>
6.    Kopi paste kode dibawah ini tepat dibawah kode <div id='content-wrapper'>
<div id='catmenucontainer'>
<div id='catmenu'>

<ul>
<li><a href='http://NAMA LINK BLOG ANDA/'>Home</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-1-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-2-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-3-3</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-4</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-2</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-3</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-5-4</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6</a>
<ul class='children'>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6-1</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-6-2</a></li>
</ul>
</li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-7</a></li>
<li><a href='Your-Link-Here' title='Link-Title'>Link-Name-8</a></li>
</ul>

<div style='float:right;margin-right:20px;'>
<a href='http://feedburner.google.com/fb/a/mailverify?uri=pbtemplates'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL-KwBa8fBTO9oRoBaiM9rMlmhXsrTj5lbP0S0LR2t0qw4idp_7sHXJDgrZ5hyphenhyphenN4sz-6bjeM0mumDtFBCaN2dkZ4UqP4vnzRFEaV9sTPcU-G6evDKLVLHDs9rpvhmjYYr-3qbJ94uREmuI/'/></a>
<a href='http://feeds.feedburner.com/pbtemplates'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj67DXqmdduZ9HfMy4_sp5kKm5CAUF2y7QTW0l4RXdXimY6LSlBFkOgKP1sf29PaXYp6bwaHeFksfh43IAX2mmK1GU2kgcdr8ead_5j9gDB50HZ9D_h-djnleEkaLFZhvl60lJSZ4IM6aeu/'/></a>
<a href='http://www.twitter.com/btipandtrick'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-cEHgDIgiNkwrUZ17bEd2UuLb51adQe1qQeJm1ZnVHFN66GhJ3vYvUjJzGYaFK4SKRvWIAuXgn5pvOBfH_iKfUBi2CGRtKn_4LL8bs4LQt9wq4H4XFpihKaa7d-i2Rej5QWzI05bqNnQn/'/></a>
<a href='mailto:123@abc.com'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCNf9NlqVAcMXim7pB_Ymu_lheLV3_9FTzFx6FKmNnhyphenhyphenfZmw7cACFf2gY7J4hjojY1zMAvdghBNnK6Cgvp93CJXOKEkme-RAay-VNCv2wuh4dVNuOO4J6e3dr2abLBDdV2lfv78JvTGKcm/'/></a>
</div>

</div>
</div>

<div class='clear'/>


7.   Ganti kode-kode “'Your-Link-Here” dengan link yang ingin sobat masukkan dan “Link-Name” dengan nama link yang sobat inginkan.
8.   Simpan template, dan lihat hasilnya…. 

Selamat mencoba semoga sukses…~~~

2 comments:

  1. Patut di coba....setelah bolak balik ke Blog tetangga akhirnaya nemu juga disini...Trima kasih

    ReplyDelete

Blogger Wordpress Gadgets