Hay sobat Blogger, disini Blog Chiber akan memberikan tips blogger kepada kalian tentang bagaimana cara membuat kotak pencarian atau search box di blog kalian. Nahh,, disini Blog Chiber mempunyai banyak pilihan model dan warna kotak pencarian, dari yang simple sampai yang keren dan berkualitas. Nah, silahkan kalian pilih salahsatu diantara banyak pilihan dibawah ini :
Caranya :
1. Login ke akun Blogge
2. Klik Menu Layout
3. Klik Tab Page Element
4. Klik Pada Add a Gadget
5. Lalu Pilih "Kotak Penelusuran"
6. Nah disitu ada beberapa pilihan, silahkan pilih sesuaikan dengan keinginan.
7. Simpan [ Finish ] -> Search Box / Kotak Pencarian akan segara tampil di blog.
Caranya :
1. Login ke akun Blogger
2. Klik Menu Layout
3. Klik Tab Page Element
4. Klik Pada Add a Gadget
5. Lalu Klik HTML/Javascript
6. Dan Pastekan Kode dibawah ini :
<form action="/search"
method="get"> <input class="textinput" name="q" size="40" type="text"/> <input value="search" class="buttonsubmit" name="submit" type="submit"/></form>
method="get"> <input class="textinput" name="q" size="40" type="text"/> <input value="search" class="buttonsubmit" name="submit" type="submit"/></form>
Keterangan :
Ganti Angka 40 = menunjukkan panjang kotak (search box) yang akan tampil di blog anda, semakin banyak angkanya maka semakin panjang box-nya, maka silahkan kalian ganti sesuai selera kalian.
7. Lalu Save dan Lihat hasilnya!
Caranya sama dengan memasang kotak pencarian 2, cuma Kodenya menggunakan kode ini :
<span style='float:right;'>
<style type="text/css"> #a-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLLjM8nRz5LMPPlvUgoEA45wsR7IvLlH0i1tcu5xHpHR0RYmliGbBP1ckAxD3H_UolPY0d09h8-FLzod7PUtJ35ExQWNiqUOgwUtVM3jAOwszY5aJiYCG1XcyYMfDB7mKGZPfX2IkyPxQx/s1600/search.box.png) no-repeat scroll center center transparent;width:300px;height:35px;disaply:block;} form#a-searchform{display: block;padding: 10px 12px;margin:0;} form#a-searchform #a{padding: 0px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#a-searchform #abutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="a-searchbox"><form id="a-searchform" action="/search" method="get"> <input type="text" id="a" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/> <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="abutton" /> </form></div>
</span>
<style type="text/css"> #a-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLLjM8nRz5LMPPlvUgoEA45wsR7IvLlH0i1tcu5xHpHR0RYmliGbBP1ckAxD3H_UolPY0d09h8-FLzod7PUtJ35ExQWNiqUOgwUtVM3jAOwszY5aJiYCG1XcyYMfDB7mKGZPfX2IkyPxQx/s1600/search.box.png) no-repeat scroll center center transparent;width:300px;height:35px;disaply:block;} form#a-searchform{display: block;padding: 10px 12px;margin:0;} form#a-searchform #a{padding: 0px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#a-searchform #abutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="a-searchbox"><form id="a-searchform" action="/search" method="get"> <input type="text" id="a" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/> <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="abutton" /> </form></div>
</span>
Keterangan : Ganti Tulisan warna merah sesuai keinginan kalian, itu berfungsi untuk menampilkan tulisan ditengah-tengah kotak komentarnya!
Dan Hasilnya nanti seperti ini :
Caranya sama dengan memasang kotak pencarian 2, cuma Kodenya menggunakan kode ini :
<form action="/search" style="display:inline;" method="get">
<input id="s" name="q" type="search" placeholder="Cari Artikel Disini"/>
</form>
<style>
#s {
margin: 0 auto;
-webkit-appearance: none;
-moz-appearance: none;
padding: 12px 48px 12px 12px;
-webkit-border-radius: 200px;
-moz-border-radius: 200px;
border-radius: 200px;
width: 200px;
height: 16px;
color: #3a4449;
border: none;
outline: none;
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
position: relative;
z-index: 2;
background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaTRpueBZLNsxz_tvr7RaNIqbH1lJQ1IbTtCUGohly9M3JUmgAGejIhld8XZhhNXMcol195S3z94XMGy2aAWxA2hyFg1DTdVus9PnEgLb-gtMFVU9KkfsY-lwvML4xNOkbEDW8nQhzocs/s1600/Search.png) center right no-repeat;
}
#s::-webkit-input-placeholder, #s:-moz-placeholder {
color: #607078;
}
</style>
<input id="s" name="q" type="search" placeholder="Cari Artikel Disini"/>
</form>
<style>
#s {
margin: 0 auto;
-webkit-appearance: none;
-moz-appearance: none;
padding: 12px 48px 12px 12px;
-webkit-border-radius: 200px;
-moz-border-radius: 200px;
border-radius: 200px;
width: 200px;
height: 16px;
color: #3a4449;
border: none;
outline: none;
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 2px 0 rgba(255,255,255,.3), inset 0 1px 2px rgba(0,0,0,.2);
position: relative;
z-index: 2;
background: #fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaTRpueBZLNsxz_tvr7RaNIqbH1lJQ1IbTtCUGohly9M3JUmgAGejIhld8XZhhNXMcol195S3z94XMGy2aAWxA2hyFg1DTdVus9PnEgLb-gtMFVU9KkfsY-lwvML4xNOkbEDW8nQhzocs/s1600/Search.png) center right no-repeat;
}
#s::-webkit-input-placeholder, #s:-moz-placeholder {
color: #607078;
}
</style>
NB : Ganti warna merah sesuai dengan selera dan kebutuhan kalian yang nanti tulisan itu akan muncul di tengah kotak pencariannya. Dan warna biru itu ukuran kotak pencariannya, silahkan kalian rubah sesuai dengan kebutuhan!
Yang hasilnya nanti seperti ini :
Caranya sama dengan memasang kotak pencarian 2, cuma Kodenya menggunakan kode ini :
<style type="text/css">#mediablogger-searchbox { border-radius: 5px; background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiECb-A4saddpQwgUO4V8O6ARBBbUmBJfpwQpM-ollVChz_Qiu8EnFUxPl2VNWC6_uVwgx8icKcG5l6pdwbNBnXFEcjFxwQKKZBAIOhxqykrSU7aH8rQDe6foBVvUyEMum0yyYSFE4UxWYo/s1600/impoint.blogspot.com-green.png) no-repeat scroll center center transparent; width: 307px; height: 50px; disaply: block;} form#mediablogger-searchform { display: block; padding: 9px 16px; margin: 0;} form#mediablogger-searchform #s { padding-left: 24px !important; padding: 7.5px; margin: 0; width: 198px; font-size: 16px; font-family: georgia; font-style: italic; color: #666666; vertical-align: top; border: none; background: transparent;} form#mediablogger-searchform#sbutton { margin: 0; padding: 0; height: 40px; width: 74px; vertical-align: top; border: none; background: transparent;}</style><div id="mediablogger-searchbox"> <form id="mediablogger-searchform" action="/search" method="get"> <input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}' /></form></div>
Keterangan :
Ganti Warna Merah dengan berbagai macam pilihan style dibawah ini :
Gaya Pencarian warna hijau :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiECb-A4saddpQwgUO4V8O6ARBBbUmBJfpwQpM-ollVChz_Qiu8EnFUxPl2VNWC6_uVwgx8icKcG5l6pdwbNBnXFEcjFxwQKKZBAIOhxqykrSU7aH8rQDe6foBVvUyEMum0yyYSFE4UxWYo/s1600/impoint.blogspot.com-green.png
Gaya Pencarian warna merah :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2-bb4JmtvYTIPtBlDqOBisFRo0z0rr7hb2ETlfPJfRFcKNuBd_P4aFqP_ZZ5Aj5ZHDQqU10s6X1zILp_ZqQQZ8KNBS6HtkHpfK0jRGtVmXbgsOr5ymOQmNbl9BuRoe3Jd5XdxciPdTBVa/s1600/impoint.blogspot.com-red.png
Gaya pencarian warna biru :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR28VyB0PxT248ljbGjiR_X8lI4LIGAMZ5NE5yBgAV-8Q-ZySGE11qHZkiyWUfKTMi-xyjBSxHRVRCTCM35OTlZbuRh630r4D2mwGSsGKUQ-j9pzfeRmaemaRnSKq-2OyBWWYf706BqAzd/s1600/impoint.blogspot.com-blue.png
Gaya Pencarian warna orange :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxNsWIQ7DSPpXPtoiIx8qO_kFixWNxpJhGS09Nz9fkek0_WBadvWgp9FRGhbldr7fObiTinCzVFdmexLqBhM3vZQslr6QOSpLWkEF47pdv2Ls_4VmmrJ9ZGQwn5AdYk70No6sq5LvL1yMf/s1600/impoint.blogspot.com-orange.png
Dan salah satu contoh hasilnya nanti seperti ini :
Caranya sama dengan memasang kotak pencarian 2, cuma Kodenya menggunakan kode ini :
<style type="text/css">
#a-searchbox{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzYTI1jLgkHO96N9rPui0dlZttR2_wQvb1k4rirYFzFBpo-dnuoaEniFukHUupxT4hscXRu5A9W1HMQdBnVTQLcw0nNtCPEMHmH1JV8P_pW2wlpb-BETajwwkOAph0CVGT9Kbb7Ej2KpM9/s1600/lostsector-search-box-blue.png) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#a-searchform{display: block;padding: 10px 12px;margin:0;}
form#a-searchform #a{padding: 6px;margin-left:20px;width: 205px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#a-searchform #abutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<center>
<div id="a-searchbox">
<form id="a-searchform" action="/search" method="get">
<input type="text" id="a" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="abutton" />
</form>
</div></center>
#a-searchbox{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzYTI1jLgkHO96N9rPui0dlZttR2_wQvb1k4rirYFzFBpo-dnuoaEniFukHUupxT4hscXRu5A9W1HMQdBnVTQLcw0nNtCPEMHmH1JV8P_pW2wlpb-BETajwwkOAph0CVGT9Kbb7Ej2KpM9/s1600/lostsector-search-box-blue.png) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#a-searchform{display: block;padding: 10px 12px;margin:0;}
form#a-searchform #a{padding: 6px;margin-left:20px;width: 205px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#a-searchform #abutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<center>
<div id="a-searchbox">
<form id="a-searchform" action="/search" method="get">
<input type="text" id="a" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="abutton" />
</form>
</div></center>
Yang hasilnya nanti seperti ini :
Silahkan kalian ganti warna merah diatas dengan kode dibawah ini, untuk mengganti tipe dan style selera kalian,,
http://3.bp.blogspot.com/-jukSBGryNx4/UPgqKoLKi2I/AAAAAAAAC38/V7A3wruYzgo/s1600/lostsector-search-box-darkgrey.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGx4Z0-SD5Zg8KXDdA7cGWXsLkBSQFa8yITzb18al-YIkmN2HhM-1PqpcqAaVj6IgZuUtRktHga00VAbXAzbt_ej_7z9UnC13XrnjgGLQ4warfjlaI_VobhH5-F8Un5rOus0cjbhSpL-XW/s1600/lostsector-search-box-gray.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhoRcOQMCG_1hxW6U6tOfepsRBsRvxoGEDWGxaxaG-z8CWXw6DrVId88Mdf5Im9U6DCOm4ynYbe9HHLBIajpMEQ7FLPNBTrlPWhc7eatT7lL2NkkVrtjYWRJRBkgw8sUCKgRxX30AAWIEv/s1600/lostsector-search-box-black.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSoz3GqXV0quyAkdzErFyIcdYsGe2vLZbw5N7aJiqJnEqV4jdi9qF_ea0_Zbf1tunrAIh7cFVTRjo-jDuTF_kn_NUe3snvFsVtLgcGX8OEcdl0QJP0diKatZ4_nqqHPTq81rbCWBDZcSLd/s1600/lostsector-search-box-red.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuipMSl2vNkLHLqaKmnH_MsfYBMIa9WMWSGyf9Wf0VJSKgafjM7px2D6J6YdYKS8fVli24rb54vHsxBpDEuZrnFdcl04z2tUC6YC8WxbVkZ_8KVLQtLl_qOrV9biTHXYGp6Hz7T-tsMj5U/s1600/lostsector-search-box-yellow.png
Okeh,, Blog Chiber rasa cukup tentang artikel yang saya tulis mengenai 6 Cara Membuat Kotak Pencarian Paling Keren di Blog ini, semoga bermanfaat buat kalian!
Terima kasih telah membaca Artikel Cara Terbaik Membuat Kotak Pencarian Paling Keren di Blog . Jika Anda ingin Copy Paste Artikel ini, Harap cantumkan Link Cara Terbaik Membuat Kotak Pencarian Paling Keren di Blog sebagai sumbernya.
0 komentar:
Post a Comment