Sunday, November 27, 2016

5 Widget Search Box Paling Keren Untuk Desain Blogger

Cara Blogger - Search Box for blogger - Pada kesempatan kali ini kita akan membahas tentang cara membuat kotak pencarian (Search Box) atau tombol pencarian (Search Button) responsive dan keren di blog. Tapi sebelumnya pastikan koneksi internet agan tidak ada masalah.. lanjut!

Kotak pencarian merupakan element yg sangat penting untuk membantu pembaca menemukan artikel atau postingan yg relevan dari blog. Sebenarnya blogger telah memberikan widget kotak pencarian default (Search Box), tapi sayangnya tidak responsive atau tidak mobile friendly dan tampak terlalu biasa.

Nah kotak pencarian responsive ini sangat berguna untuk blog pada tampilan mobile maupun tampilan dekstop. Anda bisa meletakkan kotak pencarian responsive ini dimanapun yg diinginkan. Misal header, sidebar, footer atau dimanapun di dalam blog.

Bagi yg ingin membuat kotak pencarian responsive dan keren di blog, maka cara membuatnya cukup mudah kok, anda hanya menambahkan widget seperti biasa atau seperti langkah yang akan admin sebutkan dibawah ini:
  1. Masuk Akun blog anda
  2. Masuk tata letak lalu tambahkan widget HTML/ Javascript
  3. Masukan kode (search box) yang dibawah ini.
  4. Simpan
CODE SEARCH BOX BLOGGER 1 
Silahkan masukkan code dibawah ini (widget html/Javascript)

<style>
#searchbox{background:#d8d8d8;border:4px solid #e8e8e8;padding:20px 10px;width:250px}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
#searchbox input{outline:0}
#searchbox input[type="text"]{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpp3YKPBeIpdHEfEnyPlZOK2bb3CSdjZqTpT2xpXbopU5VUrTILtbDCsGqLjiFZXbiAN436WWmrBM-Mx1w20FgK5Po_tdzSlRu68lbfTCmqXKKOqfzehLuit9Q4caKikch39t_I5XtMDnn/s1600/search-dark.png) no-repeat 10px 6px #fff;border-width:1px;border-style:solid;border-color:#fff;font:bold 12px Arial,Helvetica,Sans-serif;color:#bebebe;width:55%;padding:8px 15px 8px 30px}
#button-submit{background:#6a6f75;border-width:0;padding:9px 0;width:23%;cursor:pointer;font:bold 12px Arial,Helvetica;color:#fff;text-shadow:0 1px 0 #555}
#button-submit:hover{background:#4f5356}
#button-submit:active{background:#5b5d60;outline:0}
#button-submit::-moz-focus-inner{border:0}
</style>
<form id="searchbox" method="get" action="/search">
<input name="q" type="text" size="15" placeholder="Type here..." />
<input id="button-submit" type="submit" value="Search" />
</form>


CODE SEARCH BOX BLOGGER 2 
Silahkan masukkan code dibawah ini (widget html/Javascript)

 <style>
#searchbox{width:240px}
#searchbox input{outline:0}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
#searchbox input[type="text"]{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpp3YKPBeIpdHEfEnyPlZOK2bb3CSdjZqTpT2xpXbopU5VUrTILtbDCsGqLjiFZXbiAN436WWmrBM-Mx1w20FgK5Po_tdzSlRu68lbfTCmqXKKOqfzehLuit9Q4caKikch39t_I5XtMDnn/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;border:2px solid #f2f2f2;font:bold 12px Arial,Helvetica,Sans-serif;color:#6a6f75;width:160px;padding:14px 17px 12px 30px;
-webkit-border-radius:5px 0 0 5px;
-moz-border-radius:5px 0 0 5px;
border-radius:5px 0 0 5px;
text-shadow:0 2px 3px #fff;
-webkit-transition:all .7s ease 0s;
-moz-transition:all .7s ease 0s;
-o-transition:all .7s ease 0s;
transition:all .7s ease 0s}
#searchbox input[type="text"]:focus{background:#f7f7f7;border:2px solid #f7f7f7;width:200px;padding-left:10px}
#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjut-shL7iPRjpvP9PohhU_M9UoqOeUDjzXRJ6wrhnoCaheM6UwXluUW2AHVTayTWGPMh6e94jVKFLjnHhh130J0-hGwYKsOsDH84NwGLAX85hKpsK9H9ciZYzeglm0BYK79IVy7XMwLDcr/s1600/slider-arrow-right.png) no-repeat;margin-left:-40px;border-width:0;width:43px;height:45px}
</style>
<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="Enter keywords here..." />
<input id="button-submit" type="submit" value=" "/>
</form>


CODE SEARCH BOX BLOGGER 3
Silahkan masukkan code dibawah ini (widget html/Javascript)

<style>
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXrDDAk8Hr99M-FcTNqaa6PN6hGRsKSZ6aBmV1EOxthG5RRnr6XVsFxvcVTLT35uUYNrIIpFRLmr4nmL89-mZnMy5XVAoCkxrqZeRjP-84H3kcqpXviNiOwEPtynWJ0nY5Unt5knKEHnBh/s1600/searchbar.png) no-repeat;width:208px;height:29px}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
#searchbox input{outline:0}
#searchbox input[type="text"]{background:transparent;margin:3px 0 0 20px;padding:5px 0 5px 0;border-width:0;font-family:"Arial Narrow",Arial,sans-serif;font-size:12px;color:#828282;width:70%;display:inline-table;vertical-align:top}
#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipz70mnIw3U-9sjrajIVZ-AZm0NhIKUGcDWzDsOJdDuuZDKqp2z3whTXoDNDNXK6hbBOESA40OL9nW0CRoxy_wNXpERpIneZACmuJnS7LNaWjtPXjQgAxp5-kiNTSq-ds5UaEyiLGc42DZ/s1600/magnifier.png) no-repeat;border-width:0;cursor:pointer;margin-left:10px;margin-top:4px;width:21px;height:22px}
#button-submit:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO_HWrj7PkzhcHTwdbDcz61eyHa7LsZs1cOgy37yM9v_CJcqTBcTKD8KabJ-GMGybzh_KR4QTNpe_03N46VnTgFiqVxr__itQg6rHJrlSo3Vz7066ekm9cJygHrS5qvKiTHv7NZ6SOpYIT/s1600/magnifier-hover.png) no-repeat}
#button-submit:active{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO_HWrj7PkzhcHTwdbDcz61eyHa7LsZs1cOgy37yM9v_CJcqTBcTKD8KabJ-GMGybzh_KR4QTNpe_03N46VnTgFiqVxr__itQg6rHJrlSo3Vz7066ekm9cJygHrS5qvKiTHv7NZ6SOpYIT/s1600/magnifier-hover.png) no-repeat;outline:0}
#button-submit::-moz-focus-inner{border:0}
</style>
<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="search..." />
<input id="button-submit" type="submit" value="" />
</form>


CODE SEARCH BOX BLOGGER 4
Silahkan masukkan code dibawah ini (widget html/Javascript)

<style>
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg90l9sgVX6MgoE8slGClsGymu9WXnxGEx3tFWMrTKHP7cZDFgI4E7hnsrKjulTmD8IDx8TpUElIWxozGPzfLZtHLv4PRzDoOOXd7Y0sOXetOV7NK44SgUyJ5ZRFzeoMvt0TorWXqp8YmzE/s1600/search-box.png) no-repeat;height:27px;width:202px}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
#searchbox input{outline:0}
#searchbox input[type="text"]{background:transparent;margin:0 0 0 12px;padding:5px 0 5px 0;border-width:0;font-family:"Arial Narrow",Arial,sans-serif;font-size:12px;font-style:italic;width:77%;color:#828282;display:inline-table;vertical-align:top}
#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihnuAYNc_v6lv9OUuFxUhNVdYVLGfFzilOj7IcPzY8JsIb3DRq4qb_FVU5gbD94xtDqg_C78dslX-GkeWTmeeSPy73mAkvSOIGh8jPrmQHKOiZu2NByhIB79jeLLMpxILQXgIzkysxfJDm/s1600/search-button.png) no-repeat;border-width:0;cursor:pointer;width:30px;height:25px}
#button-submit:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggBky4rvakB7sZajAAlAcLU0qBZ7NIFTWdNFcjlXvFa1x-0vMePYhZ4grgcTOtrDJyh4ukTLKrcgLnMgu-smcm4ANtPhoRuR1MUkz2I1j_WRkl1Jj3h7Z-6QGsL8r3JljOeb0E4At6gave/s1600/search-button-hover.png) no-repeat}
#button-submit::-moz-focus-inner{border:0}
</style>
<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="search..." />
<input id="button-submit" type="submit" value="" />
</form>


CODE SEARCH BOX BLOGGER 5
Silahkan masukkan code dibawah ini (widget html/Javascript)

<style>
#searchbox{width:280px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoRD6ZEyHD6BRrYsrTXekOtxQv3ULVw3UpioGh7ZEUovLARVTK_LO2scNRABkpXwjSFgQOdWS4__MkjorPfr8tgKAEDOnotyLjjfLjQXtJFUvpn2jdE7STTsvjzaLqJzCgvKKfIwn7EGul/s1600/search-box.png) no-repeat}
#searchbox input{outline:0}
input:focus::-webkit-input-placeholder{color:transparent}
input:focus:-moz-placeholder{color:transparent}
input:focus::-moz-placeholder{color:transparent}
#searchbox input[type="text"]{background:transparent;border:0;font-family:"Avant Garde",Avantgarde,"Century Gothic",CenturyGothic,"AppleGothic",sans-serif;font-size:14px;color:#f2f2f2!important;padding:10px 35px 10px 20px;width:220px}
#searchbox input[type="text"]:focus{color:#fff}
#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyP-Kc0VojvGymHALtMWg6N5q7hKzcPuJQ0MF-YXrWsg3zIfJZL_QnX9cxuItg8cKJCO0i-z3-ANcsvsIrkjfajqOEwy_UwF3gFN31ibsfoykvaeYI3yv9QPm2BI-Ld3_1wGMW_NVF3LgR/s1600/search-icon.png) no-repeat;margin-left:-40px;border-width:0;width:40px;height:50px}
#button-submit:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-eLGDZQajHx_C3rM-o8Fnlv1JW8fCVjvIvgSqqcLNQSlxglWTitGJOwM6FmXo19DmofmS-kM7y-bFemQq0dn2S1JAKtElad6FgqpR89I70vxDGjJBgRgDe6yLl4DgDzGy_rRqCevg0_t6/s1600/search-icon-hover.png)}
</style>
<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="Enter keywords here..." />
<input id="button-submit" type="submit" value=" "/>
</form>


Okey gan, silahkan bereksperimen sendiri, intinya jangan takut salah, terus mencoba dan mencoba maka "Yakin Usaha Sampai"..

Salam : Admin A23

Artikel Terbaru!
Recent Posts Widget
5 Widget Search Box Paling Keren Untuk Desain Blogger Rating: 4.5 Diposkan Oleh: Andi Akbar
 

KIRIM PESAN ATAU TULISAN

Name

Email *

Message *