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="http://blog_anda.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://blog_anda.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!
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/AVvXsEhip6O-wmdGWtnfS2BrdDLn_kOQnYLOSiC3cK8Q59Z1R5LCA8xdgQIOGLv7O14Zp0t7r9yJ4h8yA-uufBLKaC0fj503C4G-p8kmKG3J4aMEZJiUUMy2UM8AD7Hq6h8WVm1CsWKjIOHpq9dP/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/AVvXsEhip6O-wmdGWtnfS2BrdDLn_kOQnYLOSiC3cK8Q59Z1R5LCA8xdgQIOGLv7O14Zp0t7r9yJ4h8yA-uufBLKaC0fj503C4G-p8kmKG3J4aMEZJiUUMy2UM8AD7Hq6h8WVm1CsWKjIOHpq9dP/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/AVvXsEgh4LFVcF2hScrNI5NhVglfswFcS-9Svqps6jjAKoZVMTyrfA6Oq9qINkeWZAxKCIilS_-ktdix9zouOmkw94CB2GM5IlO3_c6l0CdYHrmB_VefNON0hFIS6VXdY3UvsLAId3bgKad2FbE/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/AVvXsEgh4LFVcF2hScrNI5NhVglfswFcS-9Svqps6jjAKoZVMTyrfA6Oq9qINkeWZAxKCIilS_-ktdix9zouOmkw94CB2GM5IlO3_c6l0CdYHrmB_VefNON0hFIS6VXdY3UvsLAId3bgKad2FbE/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/AVvXsEiYQhfANVOX40Hqs9hW0gfcdVBTfb8-k13kv4mry8TBKXAHb7Y1GIITA5yHnFE8sUidXOy6Oj3VHXvcnz9uMUES9ZDDCx-3bgNnJ5NlgLGCvFpXAZk68W5nLKNJd254BcqS3keTSDUeLn33/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/AVvXsEiYQhfANVOX40Hqs9hW0gfcdVBTfb8-k13kv4mry8TBKXAHb7Y1GIITA5yHnFE8sUidXOy6Oj3VHXvcnz9uMUES9ZDDCx-3bgNnJ5NlgLGCvFpXAZk68W5nLKNJd254BcqS3keTSDUeLn33/s1600/impoint.blogspot.com-green.png
Gaya Pencarian warna merah :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSI6UpeYLYT1D57AFXEFL5Ynfu46X-YiF2IKFrb24ecDbncdShvqG4SIBaDZarHz7eYGsYEyxzklfjC6effuuWNw9s0iolzH9F8Q_PNuLGXd9ncGXDzpnQBX5Wz68INvfg2b9F2noAIMiJ/s1600/impoint.blogspot.com-red.png
Gaya pencarian warna biru :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGnpjd12A-oAr4PvLNN_XLVvtBA854rTK6tGgyyzhFLw5a2cnBwEzNr4yT7nQIgsyVfXhBQAOWoMi7IDi7MGzJ_uaxRvBpsW8nOKa_HLAUVcIUArDWiOXnQhnfsQRkZdLykGVqT15mdj6A/s1600/impoint.blogspot.com-blue.png
Gaya Pencarian warna orange :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvzZb_ZCfTy5UV_dldussurWi1AGW5FODPpGWReGLV21vNCcBicpAf0wO0mRNw9lAbk6PGlQr9vSFXq0VS-1Qi2Cmd_Fi9WN9Sbh6QVvWcS5o_QxmzoAg3D4Jkw5ZGrKNPjCtrQTHJ4pLr/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/AVvXsEjtSpoExOM4i2WiCa9HweZkBcAcjXFgtDdwNlskVohKDVKcc-U43mPDvF9DNz6i4YBTH8aIla8huizjOQ4BGDrHYbKYg2FvZil_APHzPnNarbWnnNuk838fyy7QKP3HtzcDUdjG73klkreZ/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/AVvXsEjtSpoExOM4i2WiCa9HweZkBcAcjXFgtDdwNlskVohKDVKcc-U43mPDvF9DNz6i4YBTH8aIla8huizjOQ4BGDrHYbKYg2FvZil_APHzPnNarbWnnNuk838fyy7QKP3HtzcDUdjG73klkreZ/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/AVvXsEibb2TVG2D83UJNZf0_mbW5QR9NtaHBaZ2CEGJiS_HWagpfSF3zxAwanMefa7W6T9ILVdZXY5K5XNFsADSqIrfaM0Lxpo6JDAhSKUsPGj4yQ1CtxhO5zjmkXVb-byASTjfFdT2u608xKcq2/s1600/lostsector-search-box-gray.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaehHW1TtGGPrOiyqGTR766Xl5pmCrddQPqLnyXPy2X5gwRUWMRsjLmxWPjyQchFd-9V2rgU4gcjEmMhfDufsVQakSUmiiDMSlyJRlQhEn18MrHByrTj_RwpzSmZiO0fPr8ZuYCFW8feTL/s1600/lostsector-search-box-black.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_3E2H8FFGfsFEwCl6AcYkA0CPw-2jVJ6RZ85a0MKkGKOvAw7Z9yrSRhxxAduBSJQ7-tMlDFNl7LvYon8nseiIh463H9-rc7NDHnLgEaSe4wnM2LS2Vg8zvCvH_OPiirT7aC6ce8xCYJBR/s1600/lostsector-search-box-red.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga_g72zYIdKs-lXxMb9AjGQDDE7teqlC41piH0_6l_2B9iegpKPenX3cVKWynxN3RyUYUJmA3BZgrFThajq45afX_bgSBU2eA125B0gVlxEXoH9I1Xeb52dyuQ7jvnXsxiiLdTV5BcUUqQ/s1600/lostsector-search-box-yellow.png
Okeh,, kami rasa cukup tentang artikel yang saya tulis mengenai 6 Cara Membuat Kotak Pencarian Paling Keren di Blog ini, semoga bermanfaat buat njenengan!
Adapted from ->
Tidak ada komentar:
Posting Komentar