Monday, 12 June 2017
Cara Membuat Menu dan Sub Menu Bar di Blog
1. Pilih Menu Template lalu pilih menu Edit HTML cari
2. cari <div class='main-outer'>
3. copas scrift berikut tepat diatas scrift <div class='main-outer'>
script
<style>
/* -- Menu Horizontal + Sub Menu-- */
#cat-nav {background:#444f61;margin:0 15px;padding:0;height:35px;}
#cat-nav a { color:#eee; text-decoration:none; text-shadow: #444f61 0px 1px 0px;border-right:1px solid #156994;}
#cat-nav a:hover { color:#fff; }
#cat-nav li:hover { background:#000; }
#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:#444f61; }
#secnav a { font-family:Georgia, "Times New Roman", Times, font-weight:700; font-size:14px; display:block; z-index:100; padding:0 12px; line-height:35px; text-decoration:none;}
#secnav li { float:left; width: auto; height:35px;}
#secnav li ul { position: absolute; left: -999em; width: 200px; top:5px}
#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://podorono.blogspot.co.id'>Home</a></li>
<li><a href='#'>Technology</a>
<ul id='sub-custom-nav'>
<li><a href='http://podorono.blogspot.co.id/p/sains.html'>Sains</a></li>
<li><a href='http://podorono.blogspot.com/p/alternative-energy.html'>Alternative Energy</a></li>
</ul></li>
<li><a href='#'>Teckhnik</a>
<ul id='sub-custom-nav'>
<li><a href='http://podorono.blogspot.co.id/p/Computer.html'>Computer</a>
<ul id='sub-custom-nav'>
<li><a href='http://podorono.blogspot.com/p/web.html'>Web</a></li>
<li><a href='#'>Aplications</a></li>
<li><a href='#'>Linux</a></li>
<li><a href='http://podorono.blogspot.com/p/tips-script.html'>Tips Script</a></li>
</ul></li>
<li><a href='http://podorono.blogspot.com/p/electronic.html'>Electronic</a>
<ul id='sub-custom-nav'>
<li><a href='http://podorono.blogspot.co.id/p/Computer.html'>Computer</a></li>
<li><a href='http://podorono.blogspot.com/p/audio-video.html'>Audio-Video</a></li>
<li><a href='http://podorono.blogspot.com/p/schematic.html'>Schematic</a></li>
</ul></li>
<li><a href='#'>Sub Menu2 b</a></li>
</ul>
</li>
<li><a href='http://podorono.blogspot.com/p/tips-script.html'>Tips Script</a>
<ul id='sub-custom-nav'>
<li><a href='#'>Sub Menu3a</a></li>
<li><a href='#'>Sub Menu3b </a></li>
</ul>
</li>
<li><a href='http://podorono.blogspot.com/p/go-blog.html'>Go Blog</a>
<ul id='sub-custom-nav'>
</ul>
</li>
<li><a href='http://podorono.blogspot.com/p/daftar-isi.html'>Daftar-Isi</a></li>
</ul>
</div>
<div class='main-outer'>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment