Cara Buat Menu Horisontal Dropdown di Blog
Cara Pasang menu Dropdown di Blog
1. Buka dashbor blog kamu
2. Pilih Template, Edit HTML
3. Cari Kode <style>
4. Pastekan kode di bawah ini di bawahnya
==================================================================
/* -- Menu Horizontal + Sub Menu-- */
#cat-nav {background:#156994;margin:0 15px;padding:0;height:35px;}
#cat-nav a { color:#eee; text-decoration:none; text-shadow: #033148 0px 1px 0px;border-right:1px solid #156994;}
#cat-nav a:hover { color:#fff; }
#cat-nav li:hover { background:#CC33CC; }
#cat-nav a span { font-family:Verdana, Geneva, sans-serif; font-size:11px; font-style:normal; font-weight:400; color:#fff; text-shadow:none;}
#cat-nav .nav-description { display:block; }
#cat-nav a:hover span { color:#fff; }
#secnav, #secnav ul { position:relative; z-index:100; margin:0; padding:0; list-style:none; line-height:1; background:#0d5e88; }
#secnav a { font-family:Georgia, "Times New Roman", Times, serif; font-style:italic; font-weight:700; font-size:14px; display:block; z-index:100; padding:0 15px; line-height:35px; text-decoration:none;}
#secnav li { float:left; width: 110px; height:35px;}
#secnav li ul { position: absolute; left: -999em; width: 200px; top:35px}
#secnav li ul li { height:30px; border-top:1px solid #fff; }
#secnav li ul li a { font-family:Verdana, Geneva, sans-serif; width:180px; line-height:30px; padding:0 10px; font-size:11px; font-style:normal; font-weight:400; color:#eee; }
#secnav li ul ul { margin: -30px 0 0 180px; }
#secnav li:hover ul ul, #secnav li:hover ul ul ul, #secnav li.sfhover ul ul, #secnav li.sfhover ul ul ul { left:-999em; }
#secnav li:hover ul, #secnav li li:hover ul, #secnav li li li:hover ul, #secnav li.sfhover ul, #secnav li li.sfhover ul, #secnav li li li.sfhover ul { left: auto; }
#secnav li:hover,#secnav li.hover { position:static; }
#cat-nav #secnav {width:100%;margin:0 auto;}
</style>
<div id='cat-nav'>
<ul class='fl' id='secnav'>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2005/06/rias-pengantin-bsd-kranggan-kami.html'>Beranda</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/10/document.html'>Sample</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/pengantin-paes-ageng.html'>Wedding</a></li>
<li><a href='riaspengantinbsdkranggan.blogspot.com'>Sanggul</a>
<ul id='sub-custom-nav'>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/sanggul1.html'>Sanggul Jawa</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/sanggul.html'>Paes Ageng</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/pagar Ayu.html'>Pagar Ayu</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/patahku.html'>Patah</a></li>
</ul>
</li>
<li><a href='riaspengantinbsdkranggan.blogspot.com'>Jilbab</a>
<ul id='sub-custom-nav'>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/jilbab.html'>Paes Ageng</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2015/06/model-jilbab-acara-perpisahan-sekolah.html'>Modifikasi</a></li>
<li><a href='riaspengantinbsdkranggan.blogspot.com'>Pagar Ayu</a></li>
</ul>
</li>
<li><a href='riaspengantinbsdkranggan.blogspot.com'>Tratag</a>
<ul id='sub-custom-nav'>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/05/trataglayostenda.html'>Pelangi</a></li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/12/gelombang.html'>Gelombang </a></li>
</ul>
</li>
<li><a href='http://riaspengantinbsdkranggan.blogspot.com/2014/10/dekorasi.html'>Dekorasi</a></li>
<li><a href='http://suciandchilds.blogspot.com'>Tips Trik</a></li>
</ul>
</div>
===================================================================
5. Klik Simpan Setelan. Kembali.
Selesai
0 komentar:
Post a Comment