Menu Horizontal Lavalamp Special Dark + Search Box
Baiklah pada kesempatan kali ini saya akan berbagi lagi mengenai cara membuat 'Menu Horizontal Lavalamp Special Dark + Search Box'
Jika sobat tertarik ingin mencobanya, silahkan ikuti langkah-langkah berikut.
1. Login ke Akun Blogger anda masing-masing
2. Klik Design atau Rancangan, kemudian pilih edit html
3. Centang Expand Widget Template (saya anjurkan download dahulu template anda)
4. Cari kode : ]]></b:skin> , Jika Sudah Ketemu, letakkan Kode CSS berikut tepat diatasnya.
/* lavalampv2 menu */
.lavalampv2 {margin:0;
position: relative;
padding:15px;
height: 20px;
font-family: PT Sans Narrow;
}
.lavalampv2 a {font-weight:bold;
text-transform:uppercase;font-weight:bold;
color: #aaa;font-size:14px;
line-height: 20px;
}
.lavalampv2 a:hover {
color:#fff;text-shadow: 0 1px 0 #000;
}
.lavalampv2 ul {
margin: 0;
padding: 0;
z-index: 300;
position: absolute;
}
.lavalampv2 ul li {
list-style: none;
float:left;
text-align: center;
}
.lavalampv2 ul li a {
padding: 0 20px;
text-align: center;
}
.lavalamp {
position: absolute;
top:8px;
z-index:50;
width:70px;
height:30px;
-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;
background : rgba(5,171,224, 0.8);border:1px solid rgba(5,171,224,0.9);
transition: all .4s ease-in-out;-webkit-transition: all .4s ease-in-out;-moz-transition: all .4s ease-in-out;
}
.sepecialdark {background: rgb(30,30,30);background:-moz-linear-gradient(top, rgba(30,30,30,1) 0%, rgba(15,15,15,1) 100%);
background:-webkit-linear-gradient(top, rgba(30,30,30,1) 0%, rgba(15,15,15,1) 100%);border: 1px solid rgba(0,0,0,.20);
}
/* e-searchbox */
#e-searchbox{float:right;padding:0;margin-top:-6px;}
#search {}
#search input[type="text"] {background:rgba(5,171,224, 0.8) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirc6IuANI7G4SVHkzA1y0Lrro0gmIZeOPASZ028TcH6e_wD-TvaAgj5ge-jpUEMa-78IhF1dzdlTYXjvEILmoSEh-lP5S3rt6X0svJ7Ipx6lus0QOfkDv3r-Xke5lA3bRnKi5KkHwEJUg/s1600/cari.png) no-repeat 10px 6px;font:normal 12px century gothic;color:#ddd;width:150px;padding:6px 15px 6px 35px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;
border:1px solid rgba(5,171,224,0.9);-webkit-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.8s ease 0s;-moz-transition: all 0.8s ease 0s;-o-transition: all 0.8s ease 0s;transition: all 0.8s ease 0s;}
#search input[type="text"]:focus {background:rgba(0, 0, 0, 0.5) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirc6IuANI7G4SVHkzA1y0Lrro0gmIZeOPASZ028TcH6e_wD-TvaAgj5ge-jpUEMa-78IhF1dzdlTYXjvEILmoSEh-lP5S3rt6X0svJ7Ipx6lus0QOfkDv3r-Xke5lA3bRnKi5KkHwEJUg/s1600/cari.png) no-repeat 10px 6px;width:190px;border:1px solid rgba(5,171,224,0.9);
-webkit-box-shadow:inset 0px 1px 4px rgba(5,171,224,1);-moz-box-shadow:inset 0px 1px 4px rgba(5,171,224,1);box-shadow:inset 0px 1px 4px rgba(5,171,224,1);}
5. Langkah selanjutnya letakkan kode script berikut diatas kode </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
<script src='http://ut2a-4down-blogspot-com.googlecode.com/files/lavalamp_specialdark.js' type='text/javascript'/>
6. Selanjutnya letakkan kode berikut, di atas kode header-wrapper (sesuaikan template) Masing-masing :
<div class='lavalampv2 sepecialdark'>
<ul>
<li class='active'><a href='/'><span style='color:#eee;text-shadow:0 1px 0 #000;'>Home</span></a></li>
<li><a href='URL-HERE'>Forum</a></li>
<li><a href='/search?max-results=20'>Archive</a></li>
<li><a href='URL-HERE'>SiteMap</a></li>
<li><a href='URL-HERE'>Contact</a></li>
<li><a href='URL-HERE'>Link Exchange</a></li>
<li><a href='URL-HERE'>Guest Book</a></li>
</ul>
<div class='lavalamp'/>
<div id='e-searchbox'><form action='/search' id='search' method='get'>
<input name='q' onblur='if (this.value == "") {this.value = "Find article here";}' onfocus='if (this.value == "Find article here") {this.value = "";}' size='40' type='text' value='Find article here'/>
</form></div>
</div>
7. Silahkan anda priview dulu, apabila semua berjalan dengan sempurna barulah anda save template.
Comments
Post a Comment
-Berkomentarlah yang baik dan rapi.
-Menggunakan link aktif akan dihapus.