Berikut ini Bangiz akan membahas tentang salah satu cara untuk mempercantik tampilan blog. Kali ini berhubungan dengan navigasi yang mana akan memudahkan pengunjung untuk mencari kategori yang di inginkan. Menu floating ini di lengkapi dengan drop down menu, cara membuatnya pun sangat mudah tanpa edit html. Jika Anda tertarik berikut cara menerapkannya di blog Anda.


1. Masuk Dasbor Blogger.

2. Pilih Tata Letak > Tambahkan Gadget > Cari HTML/Javascript.
 floating menu
3. Copy-Paste kode berikut:
<style>#sbfixed {position:fixed;top:0;left:0;width:100%;height:40px;z-index:999;}#sbfixedinner{text-align:center;background:transparent;height:40px;position:relative;z-index:999;}* html, * html body{overflow-y:hidden;height:100%;}* html #sbfixedinner{margin-right:-143px;voice-family: "\"}\""; voice-family:inherit; }* html #sbfixedinner{margin-right:17px;}* html #sbfixed {position:absolute;}#sbtop-wrapper{background:#000000;width:100%;float:left;margin:0 auto;padding:0 auto;-moz-box-shadow:0 3px 3px 3px rgba(0,0,0,0.4);-webkit-box-shadow:0 3px 3px 3px rgba(0,0,0,0.4);border-bottom:1px solid #444;border-top:3px solid rgb(72, 161, 250);}#sbtopbar{width:980px;height:40px;margin:0 auto}#sbtop{width:100%}#sbtop,#sbtop ul{list-style:none;font-family:Arial, serif;margin:0;padding:0}#sbtop a{display:block;text-decoration:none;font:normal 11px Arial;text-transform:none;color:#CECECF;border-right:1px solid #484747;border-left:1px solid #191919;padding:7px 10px 7px}#sbtop a.arrow{background-image:url(http://3.bp.blogspot.com/-LzmPTNyR6po/TwETZufjSTI/AAAAAAAAATo/oisHmXUjmSY/s1600/arrow_white.gif);background-repeat:no-repeat;background-position:right center;padding:7px 24px 7px 10px}#sbtop li{float:left;position:static;width:auto}#sbtop li ul,#sbtop ul li{width:170px}#sbtop ul li a{text-align:left;color:#fff;font-size:12px;font-weight:400;text-transform:none;font-family:Arial;border:none;padding:5px 10px}#sbtop li ul{z-index:100;position:absolute;display:none;background:#222;padding-bottom:0px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.4);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.4)}#sbtop li:hover a,#sbtop a:active,#sbtop a:focus,#sbtop li.hvr a{background-color:#222;color:#fff}#sbtop li:hover ul,#sbtop li.hvr ul{display:block}#sbtop li:hover ul a,#sbtop li.hvr ul a{color:#edfdfd;background-color:transparent;text-decoration:none}#sbtop li ul li.hr{border-bottom:1px solid #333;border-top:1px solid #000;display:block;font-size:1px;height:0;line-height:0;margin:0px 0}#sbtop ul a:hover{background-color:rgb(72, 161, 250)!important;color:#fff!important;text-decoration:none}#sbtop a span,#sbtop a.arrow span{font:bold 12px Arial;color:#888;display:block;line-height:16px;text-transform:uppercase;text-shadow: 1px 2px 2px #000}#sbtop li:hover a span,#sbtop li:hover a.arrow span{color:#f1c822}</style><div id="sbfixed"><div id="sbfixedinner"><div id="sbtop-wrapper"><div id="sbtopbar"><ul id="sbtop">
<li><a href="/"><span>Home</span>Welcome</a></li>
<li><a href="#"><span>Country</span>How Many</a><ul>
<li><a href="#">5 Country</a></li><li></li>
<li><a href="#">10 Country</a></li><li></li>
<li><a href="#">15 Country</a></li><li></li>
<li><a href="#">20 Country</a></li></ul></li>
<li><a href="#"><span>Color</span>Your Choose</a><ul>
<li><a href="#">Red</a></li><li></li>
<li><a href="#">White</a></li><li></li>
<li><a href="#">Blue</a></li><li></li>
<li><a href="#">Green</a></li><li></li>
<li><a href="#">Yellow</a></li></ul></li>
<li><a href="#"><span>Template</span>Your Platform</a><ul><li></li>
<li><a href="#" rel="nofollow">Blogger</a></li><li></li>
<li><a href="#" rel="nofollow">Joomla</a></li><li></li>
<li></li><li><a href="#">Wordpress</a></li></ul></li>
<li><a href="#"><span>Contact</span>Social Media</a><ul><li></li>
<li><a href="#" rel="nofollow">Facebook</a></li><li></li>
<li><a href="#" rel="nofollow">Twitter</a></li><li></li>
<li><a href="#" rel="nofollow">Google +</a></li><li></li>
<li><a href="#" rel="nofollow">Pinterest</a></li><li></li>
<li><a href="#" rel="nofollow">Delicious</a></li><li></li>
<li><a href="#" rel="nofollow">LinkedIn</a></li><li></li>
</ul></div><div style="clear:both;"></div></div></div></div>
4. Simpan dan lihat hasilnya.

Keterangan:

background:#000000, silahkan ganti background sesuai dengan warna yang diinginkan. Untuk kode warna silahkan lihat disini atau disini.
Ganti # dengan alamat link tujuan.

Loading...
 
Top