5 Widget Search Box Dengan CSS Bootstrap Keren Di Blogspot - Search Button

Search box atau search button sangat penting di blog/situs anda. Karena memiliki fungsi yang penting bagi pengunjung blog. Apa fungsi dan manfaat dari search button di blog? Search box/search button membantu pengunjung dalam mencari dan mengindex artikel yang ada disitus kita. Sarch box biasanya sudah ada satu paket dengan navigasi blog.

Kali ini saya akan membagikan tutorial cara membuat widget search box atau search button. Widget ni dibuat dengan css design yang keren,html,dan bootstrap. Dengan begitu search box akan tampil dengan keren. Anda bisa mengubah style css sesuai dengan keinginan anda.

Search box ini bisa anda letakkan ditempat dimana pengujung bisa melihatnya sehingga bisa menemukan artikel yang dicari dengan bantuan search box. Dengan begitu pembaca blog bisa menemukan kata/frase yang mereka caari di blog.

Ada 5 style search box yang akan saya bagikan. Yang tentunya sangatlah keren jika ditampilkan di blog. Untuk cara membuatnya sangat mudah dan sederhana. Berikut ini demo style search box yang bisa anda pilih.

5 Cara Membuat Widget Search Box Keren Di Blogger

Itu dia kelima style widget search box yang bisa anda pakai,apa anda sudah memilih style mana yang mau dipakai? Langsung saja berikut langkah membuatnya:

Cara Membuat Widget Search Box

#1. Silakan masuk ke blogger, pilih Tata Letak 

#2. Buat widget baru dengan klik Tambahkan Gadget → HTML/JavaScript

#3. Lalu silakan masukkan kode HTML CSS berikut kedalam widget baru sesuai dengan style search box yang anda pilih.

Style 1

<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: none;
}

#searchbox input[type="text"] {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv0BVWi7aIHXtVGrLOyZlfGgVxOmiUjQ2htbAYantKemtxTHmNFfU0kwTpXqzDnUnN_fPnPnzSQAJgoUShNgWqp9y6UyjRWKcD1hnGIUrXSQ_e8Q6fyjnVCYTj3x9o1zXHz_hiPJ43hI76/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: 0px;
padding: 9px 0px;
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: none;
}

#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>

Style 2

<style>
#searchbox {
width: 240px;
}
#searchbox input {
outline: none;
}
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/AVvXsEjv0BVWi7aIHXtVGrLOyZlfGgVxOmiUjQ2htbAYantKemtxTHmNFfU0kwTpXqzDnUnN_fPnPnzSQAJgoUShNgWqp9y6UyjRWKcD1hnGIUrXSQ_e8Q6fyjnVCYTj3x9o1zXHz_hiPJ43hI76/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 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
border-radius: 5px 0px 0px 5px;
text-shadow: 0 2px 3px #fff;
-webkit-transition: all 0.7s ease 0s;
-moz-transition: all 0.7s ease 0s;
-o-transition: all 0.7s ease 0s;
transition: all 0.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/AVvXsEhHKNhluL22pRonfjUiEGoCIf6WXsn4Q9CJStIekt8OMb_bCiU3Ngbd4jkmSQsYp0YCDeugBil8P5Bi121oZ3yIgIUYQmNkLCqGCKMNO2D1XkfNYxLvr0OhyphenhyphenLKzPZ42w_ZW1SbkEEUB_emY/s1600/slider-arrow-right.png) no-repeat;
margin-left: -40px;
border-width: 0px;
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>

Style 3

<style>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhff6vkd-_z5iyreepjfayEwuI14ctMBlyWYUc0WDD2wmosxkQapH0Rm37HaxMR2cwsB3iyDdmN1NiQM7Cb_8gsu2cgO2mKaO7iXqyCSwlOtyTjXnSsX-UVPk_y358xnVkiUnk9rJJGD53x/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: none;
}
#searchbox input[type="text"] {
background: transparent;
margin: 3px 0px 0px 20px;
padding: 5px 0px 5px 0px;
border-width: 0px;
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/AVvXsEjQ3d5Pi7ZsVnaKDLPKU-BfbR9cI8EdtMOrxO_DChnMw4lFy2nj0pupSkRtNpVXM9kT8ISRUhxj8bBhZP_V3SFyvRfZ5VmfqTaCSt_-M5BxlUVrbZt7oZ0bMoyv1I5fesvUbWhywhE-s6il/s1600/magnifier.png) no-repeat;
border-width: 0px;
cursor: pointer;
margin-left: 10px;
margin-top: 4px;
width: 21px;
height: 22px;
}
#button-submit:hover {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDk6wepCzWgJOP9jLbdJqN-oRGFQomuDNNUwozS0JaRF6QUGV2tHza9A4hXfXFegPZb5D8vc5QpNpvjDGlDC18vrlqwVt6-jygCSHQsvPd0v-_HjK6Gzf4FIQdnpOqf2eYvnz1Jojm9q8Y/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDk6wepCzWgJOP9jLbdJqN-oRGFQomuDNNUwozS0JaRF6QUGV2tHza9A4hXfXFegPZb5D8vc5QpNpvjDGlDC18vrlqwVt6-jygCSHQsvPd0v-_HjK6Gzf4FIQdnpOqf2eYvnz1Jojm9q8Y/s1600/magnifier-hover.png) no-repeat;
outline: none;
}
#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>

Style 4

 <style>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1qAcPh5frzeYNDhBqDSKVsckzOHqcMa01-XGyB_3WkZha5FZWjWgzxdD3Nt6QUyQq5NHFPkSCXKQrGqIEweZnpZz4rOGV-YuUTLQP6i2nbJYQlFdyNW7C30ozml0-axJ34h5e5wBhhoDQ/s1600/search-box1.png) no-repeat;
width: 250px;
height: 65px;
}

input:focus::-webkit-input-placeholder {
color: transparent;
}

input:focus:-moz-placeholder {
color: transparent;
}

input:focus::-moz-placeholder {
color: transparent;
}

#searchbox input {
outline: none;
}

#searchbox input[type="text"] {
background: transparent;
padding: 5px 0px 5px 20px;
margin: 10px 15px 0px 0px;
border-width: 0px;
font-family: "Brush Script MT", cursive;
font-size: 12px;
color: #595959;
width: 65%;
font-weight: bold;
display: inline-table;
vertical-align: top;
}

#button-submit {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguAJLmZ2MKwz3PEK_VCy2dsQ0kCZ0G5rQ_a9qTwm56eFP0U9BTVii_x9lkHkqXGec4jEnvREN7XXnHRLKlQS0ji7m4jqGmG1kn7QnYyCYnr3DJ5tpT5dLQXhmTecNCBl8dPnpPkgL36PEP/s1600/magnifier.png) no-repeat;
border-width: 0px;
cursor: pointer;
margin-top: 10px;
width: 19px;
height: 25px;
}

#button-submit:hover {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkmQLwaK0qQJtXa1ssvrRJdjVPe3QWMxd_YMKQWvSsz7VNWZDhp3gOzPKMF7-PiSmCm2Sin94kQWvVyeJ-75C9_XGmcEoIbvPG4ANOjgGQWewR8vajRtaVxECqQSqbmam7iMI9t77qV6sO/s1600/magnifier-hover.png) no-repeat;
}

#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkmQLwaK0qQJtXa1ssvrRJdjVPe3QWMxd_YMKQWvSsz7VNWZDhp3gOzPKMF7-PiSmCm2Sin94kQWvVyeJ-75C9_XGmcEoIbvPG4ANOjgGQWewR8vajRtaVxECqQSqbmam7iMI9t77qV6sO/s1600/magnifier-hover.png) no-repeat;
outline: none;
}

#button-submit::-moz-focus-inner {
border: 0;
}
</style>

<form id="searchbox" method="get" action="/search" autocomplete="off">
<input class="textarea" name="q" type="text" size="15" placeholder="Search here..." />
<input id="button-submit" type="submit" value="" />
</form>

Style 5

 <style>
#searchbox {
width: 280px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuuQsBIs2oeNFuSFkhyg6dC88N7eyTVvuZjmTiHnH7Jx0hScAiAhgw0C6f3h4Qn3fu92xRHqfTChkBoeEGX0aEqqbsPwUmqvgzais6ycCjBSm-9yKARumkZm1C2fzHEvjatx0gcpEDlbO5/s1600/search-box.png) no-repeat;
}

#searchbox input {
outline: none;
}

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: 0px;
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/AVvXsEhBtpyELxBZ4jg_ae2aiq1zqaZdrd6Bfv4z2t6OUwQOTPDycwudLVBlR06Jik6C7PSz-SS3cgvO9o0QwVY0RoAknkkQ6LLph-zCiLiNC7-t3PX5rP3SYdO9jpKgu2wj35TyXH7r6NCY2DDx/s1600/search-icon.png) no-repeat;
margin-left: -40px;
border-width: 0px;
width: 40px;
height: 50px;
}

#button-submit:hover {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPCUCF8Ax5wS3_VAOai201dY9iBLgcAIsyRkTFXx9_e5GRfwjjzIymCspaXG7xUf8jtJpq7X-gkEfj1YCIt94OdNY1HZwxp_kRQh-hijc_pDIScNIR06PLmIQGw7FNKTlC1cW3vGTL5HoI/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>

Lalu klik simpan.

Selesai. Gimana bagus bukan style search boxnya. Anda bisa mengotak-atik kodekode tersebut sehingga menghasilkan style search box yang baru. Itulah tutorial cara membuat widget search box keren di blogger. Semoga bermanfaat.

Subscribe to receive free email updates:

18 Responses to "5 Widget Search Box Dengan CSS Bootstrap Keren Di Blogspot - Search Button"

  1. Replies
    1. maaf belum bisa ngasih demo gan,bisa lihat gambarnya aja

      Delete
  2. lengkap banget dah disini, saya suka yang style 1

    ReplyDelete
  3. Itu berpengaruh ke speed atau seo blog gak

    ReplyDelete
  4. Thanks gan tipsnya langsung ane coba ke blog ane

    ReplyDelete
  5. Alhamdulilah, akhirnya nemu juga yang bahas widget ini :)

    ReplyDelete
  6. Wah makasih banyak tutornya .. yang style 3 lebih simple

    ReplyDelete
  7. Style 1 keren dan klasik. Kalo butuh gw mampir lg gan

    ReplyDelete
  8. Ijin pakai 1 gan, biar tambah kece blog saya

    ReplyDelete
  9. mau coba yang no 5, langsung saya praktekin dulu gan. Thanks infonya

    ReplyDelete