Kotak Pencarian 1
Caranya :
1. Login ke akun Blogger
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.
Kotak Pencarian 2
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="http://syahaliumar.blogspot.com/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 http://syahaliumar.blogspot.com/ dengan nama blog Kalian.
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!
Kotak Pencarian 3
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/AVvXsEjLS-NJFeURDUxRyLLiT4raZ11k1Z6t0q2_QtWdg7p46LJO96mGWo0XZMNC10fs547WYgpes8QbP-KEXjXfzwWFNCLhalveCJuF2ifs9OJ3Imcn_CN4f4_5gEP5uDqcivqFBB_FvWSDkutM/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/AVvXsEjLS-NJFeURDUxRyLLiT4raZ11k1Z6t0q2_QtWdg7p46LJO96mGWo0XZMNC10fs547WYgpes8QbP-KEXjXfzwWFNCLhalveCJuF2ifs9OJ3Imcn_CN4f4_5gEP5uDqcivqFBB_FvWSDkutM/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 :
Kotak Pencarian 4
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/AVvXsEguPU_6_FHmSPRz0fAEyisvk4QBLYn7en1X5AyFjZNT57rDhca3EskNZZ5HRaH44WLFHH6q3BjxQR-T7Qf5iIk3CGsIKeUOz1cA3_YHo6a0hHw0RLTUMqMl7fwLDq-iK7XL0T1AOtLVpnk/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/AVvXsEguPU_6_FHmSPRz0fAEyisvk4QBLYn7en1X5AyFjZNT57rDhca3EskNZZ5HRaH44WLFHH6q3BjxQR-T7Qf5iIk3CGsIKeUOz1cA3_YHo6a0hHw0RLTUMqMl7fwLDq-iK7XL0T1AOtLVpnk/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 :
Kotak Pencarian 5
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/AVvXsEi_96oK2y7XILOJUnljX7TL-FiW3GDlnB97-jm5YDN7GfO4VD7GV58RtEZ1aitfUmYGqYa0RgnfOXqZ6Le0KE3saekShAR1Pif1qQTLJ2px7OWE8cIPx8M9aFur9jLJfBZwAaagJK5B2We3/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/AVvXsEi_96oK2y7XILOJUnljX7TL-FiW3GDlnB97-jm5YDN7GfO4VD7GV58RtEZ1aitfUmYGqYa0RgnfOXqZ6Le0KE3saekShAR1Pif1qQTLJ2px7OWE8cIPx8M9aFur9jLJfBZwAaagJK5B2We3/s1600/impoint.blogspot.com-green.png
Gaya Pencarian warna merah :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEin_qF16DHOO65gJSXeXB60OsMs1n980qw2ng9W46aUsW6Ukv77Dz5QcYG-8GxU1Ksejdh54lKYP9KXEe0Hljg5Sc-fMsi8-7BtGge2BSL_VHsjgmqu7L-q9b0rBTbgSdxQUfdnE06oyRjq/s1600/impoint.blogspot.com-red.png
Gaya pencarian warna biru :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTRIoUNQetrBpdb33QrUy5P1hjHLAYr6dkCyfS-qjRJ8JsQ3XUAlsWBQGWmIlMybQ0uCmpQIAFodA60veXlJ4fnO65wwBMrVL1ZjMHElZSD7RHr4YSDSxTCC1JsqA5QNTstyCngNwDgleV/s1600/impoint.blogspot.com-blue.png
Gaya Pencarian warna orange :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMCZ6Gk7NEONq7X-0YlXPcKm5cKc2XhD0U3bvgb7dq2O0sUjUzwcMm-qRoeJtKU9j0ZO-oRz9WbH7Hp7J78oemWG9QgUm_iTcrZfviR1brMKC9qpJgqA4c2SNrTBa8frqn_oelvdW0KalA/s1600/impoint.blogspot.com-orange.png
Dan salah satu contoh hasilnya nanti seperti ini :
Kotak Pencarian 6
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/AVvXsEjAfXVKRu9zzHnCA5aTmVLWxC-2yMbh4OiRPoN-c06dcFtkoL3HUCwAUg4zbsI79Dd8s-4ne-miwEhYN5Zdz8Y8NswOEaShSDNpzwvNFz0JV6YhnAtzkYzE1F16d4-Dw4bl24YwILYUbNxJ/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/AVvXsEjAfXVKRu9zzHnCA5aTmVLWxC-2yMbh4OiRPoN-c06dcFtkoL3HUCwAUg4zbsI79Dd8s-4ne-miwEhYN5Zdz8Y8NswOEaShSDNpzwvNFz0JV6YhnAtzkYzE1F16d4-Dw4bl24YwILYUbNxJ/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 :
Keterangan :
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/AVvXsEhrqoT8oP8MYVQBHb519tSksuYQGNWx8DXtBVKihHGZhaRKwYkh6uZYxsv1NmGpUHWbIUydNpSZTLffUmX41lFN8I3TXNhyphenhyphenyel3B39LKxad5y9z6SRnCqbgpxdXK7BYZPia8OU6E6ZJHVEW/s1600/lostsector-search-box-gray.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrHtqTBlsasGfNqE7DT2nqXpbBvDFtt8j5ssz7i-3ZCZIY1KrzuVT1osrSZ1ytee5fLqvoh2028X_ggGzkWfGdQT1TooUZgjbxoXumbb0IkCMtrZIh82DRnEpPZDhUZrsWktdt6QPNjZyd/s1600/lostsector-search-box-black.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZAXjn9cughXUWjyPBhiSFz5gM2Aq5HvEseAHmNvPblpxG74kP4msaQNcM5SnEqW4889QnsOtPVlh-S8F3k0Pgi_oFLCNIxwZwI1Rqq00fgOJ5JgM5jBKwD5UTb5F6l1fZdJim8yuQvF7p/s1600/lostsector-search-box-red.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBp4fuhSq-f1J4REY1ubyfPp3K_i0WZEYwnABRqUQqzb1CbwH3KRrDrdLBatkYvHweh7AMZjNoKFmu6_gOHd0W5OTW0YEo2NHAfSfLv3JaLxySDXzgzqdgUnaVXhEjRt9JbVK4tvcTloHn/s1600/lostsector-search-box-yellow.png