Wednesday, July 29, 2015

6 Stylish Custom Search Box for Website/Blogger

Hello Blogger, Its been a long time last I had published any post on Blogger and Blogging section. Actually by this time I was working with other popular section of this site, like Gaming, Software and Android Apps. And I had published many Exciting Full Version Games for Free. However although I had taken too long, but finally from today I'm gonna start writing on Blogger and Website Widgets.


In today's post I'm gonna share 6 different stylish Search Box Widget for Website and Blogger. Search Box is an essential and necessary part of any Site for the convenience of the visitors to find the content from it. But sometime you may not find the right Search Box widget, which suite best with the design of your site. Or sometime the default search box may not attractive and efficient enough to bring effective result.


You can choose the Search Box for your site from the 6 search box I'm sharing today. These Search Box are very stylish and attractive. The code that I'm sharing will work on any HTML site. In this post will only show how you can add these Search box to your Blogger blog. Let's start...


How to Add Custom Search Box to Blogger:


  • First Log into your Blogger Account and go to Dashboard.
  • Then click on Layout Option.
  • Here click on Add a Gadget link where you want to place the search box.
  • The from the gadget list select HTML/JavaScript.
Blogger Gadget
  • Now inside the popup window Paste the any Search Box code from given below.
  • Finally click on Save Button 



Style > 1:
Search Box - 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/AVvXsEgVVmOdvTplHoSTx2oVGQU_xpc7O8R2mMCcUaaWNHdJ3TKXD45ZO647HkpqvqNQOuFP2TH8j69vQk_hFiOodxwBhAhBVCHKJ0roAbZyStxOCQynSBxJNIBuwyzvBwBttT_7CXQ6wq0PMWrM/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:
Search Box - 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/AVvXsEgVVmOdvTplHoSTx2oVGQU_xpc7O8R2mMCcUaaWNHdJ3TKXD45ZO647HkpqvqNQOuFP2TH8j69vQk_hFiOodxwBhAhBVCHKJ0roAbZyStxOCQynSBxJNIBuwyzvBwBttT_7CXQ6wq0PMWrM/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/AVvXsEhDy4jsVm_DKnbeL60Bc-bEogAsE_u-OJG-vR57cSn1dLOdWv-SKDA_5IcgMGxbRsFEtqB3DIIRkJ7AJX49ruM_-rRiLOnewJaeNaOQxUJwfKZhniM4FyOX2CZA7mdGLeRXA2mu-AECACfh/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:
Search Box - 3

  <style>  
 #searchbox {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigCvOquxTLfSB6ELjkD5b1MEpdE5il6ed7lYXhF7C0_rmjyXJ9EN7EKWlkjO6HGX5XbZz4XF4EIUjx5ub7u6Y7HLyfM1feFxenW_GRl_QM3Kt7XR68xbmyY7o1oAoZbkGoH9nkssiQLLm4/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/AVvXsEgDkqGaQV9tSLd5Eywuj59vnhKGAzl1YqUcO-NuzrDwQQ3qypP_CkNyxGOzRvjUMFm0Hbse_j_TbAYnm0QA0i-RNrlfAzBUugEX5Vr3BFunmjfMpDvdQRUNFFVYM2wH3q4wMhMQ2d4PqHbM/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/AVvXsEgTIiAh7qYH4vqVSm8Go7OjKS9SrdPkWRvEdoDcPmaueaIFc2CL32aRR_yvfxx1CIO6KtnVBr0vQfZy2bksolT9keFDsAKCZCMh-mfUHtha1r-Gh9EWsCQucReQJm1MkQeLpVicTb7ZUIQo/s1600/magnifier-hover.png) no-repeat;  
 }  
 #button-submit:active {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTIiAh7qYH4vqVSm8Go7OjKS9SrdPkWRvEdoDcPmaueaIFc2CL32aRR_yvfxx1CIO6KtnVBr0vQfZy2bksolT9keFDsAKCZCMh-mfUHtha1r-Gh9EWsCQucReQJm1MkQeLpVicTb7ZUIQo/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:
Search Box - 4

 <style>  
 #searchbox {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0QgE8JiXe_zRjGnzRbD1sB_-eY78G7DgPcSnOb_d1xrcCl3mLgHyq5K30QudKNbenFgcKzFkq2EV258ZVuGB1OTs_Ei73HLLd0L8sHcyVSmGyjoAr1DglPB6oiwjB4_A0vRFxy_gKJfrr/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: none;  
 }  
 #searchbox input[type="text"] {  
   background: transparent;  
   margin: 0px 0px 0px 12px;  
   padding: 5px 0px 5px 0px;  
   border-width: 0px;  
   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/AVvXsEhOwhr_w6VouPju9-i2yhIqccdsOriiHWCR_N1Wx2OV2AJhbm0h0KRu7-A07jeV901nznVr9jBv3ELvEuoPVVm2OL5ZyRadYztzfG6W7z1i4IMTOT0YBYthZpvhi9J612G2QnZNAxZD2gcc/s1600/search-button.png) no-repeat;  
   border-width: 0px;  
   cursor: pointer;  
   width: 30px;  
   height: 25px;  
 }  
 #button-submit:hover {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPRZps2uA9en5fqtfkaO-Ui4j86cRCTzsZ1XxzmhVuK8s57_eT_-dWgaq9thp013vEfZi1UtU6GxtEk8rR-D55-ZPpvHfIR_WRd_fyz4ymesXosrsU0ac2nmnUiSDejvhMUnH3webN69m7/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>  



Style > 5:
Search Box - 5

 <style>  
 #searchbox {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiu7QhBPoeYNId_IRyT75BjuvlChpsaJqIvOs_mJVhrbWp_zahfnM5wKW6TrXKejx0QA_E50z2ClP6yiKW72VBX-A66t1cW7CVjKzM_wTHWquoqfw_oCO8aRcKiOD9Ala5SsUCJXAtrTIt/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/AVvXsEh0K3Ld56ZoX7KdiQJBfQofl5Cq6WQz-mzkwzk25Pi6_dqQSpZznSOtutr_JduIxk-O5oFK47rYh7vS5ILOI34XtnWKequwbzjng239n33_BuVzXCiQpQPj1jUuqMcdtjDpiYR7P4nsOOcm/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/AVvXsEilS6XeBuPtHferKWhTeD8ZFK99Sgi3UnbVX0SRfZdBliE3b1CnEsu6cY5hmJL-gOwXKozkPKNExV21WIT1U3GZqGBeHP6Z2tMhyphenhyphen_MIHElpYZItFQmnIp79SBADdD28TKI63b8KvDZo6Zm4/s1600/magnifier-hover.png) no-repeat;  
 }  
 #button-submit:active {  
   background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilS6XeBuPtHferKWhTeD8ZFK99Sgi3UnbVX0SRfZdBliE3b1CnEsu6cY5hmJL-gOwXKozkPKNExV21WIT1U3GZqGBeHP6Z2tMhyphenhyphen_MIHElpYZItFQmnIp79SBADdD28TKI63b8KvDZo6Zm4/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 > 6:
Search Box - 6

  <style>  
 #searchbox {  
 width: 280px;  
 background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS_WfZA1JukoXPbJS_hQv2KVyiq-GH_CWBiMODo0bi0fMuqioQfMmnc2i6yyqG-495D8NqaXBD-IOMJ0tYlGis3vjLjE8_0tQyGxoGIqxTt8JzrTD2YFTvN_t9O5h7tApDcygMO1Mrs1nr/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/AVvXsEjadSx4PrjnxNU32xw5PeknevtSAyWmhg_eeTYp9_1Xr4HcDOOg-fEiqBQIXBbP41LceyeTxDEeL9rGOMUXFxNA8kL_keiUvLlRAgW8bgDuYVoeMb33b2wdGnyDrwkUo_IhOQnA2ie9Qbl1/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/AVvXsEjI4Culo9UL19En-TBYQX9ockEXWznOzN5safyJ0pi4Sb5Z6LsMAKVVhugIETbUUVGoEpuQ9EFuuMgNbSq__X4-iXBGvSHnhkTvz2rOKAfYMbZ23MhQ1MtqgFxUFl1nnmRg0V204A21t2lT/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>  


That's it. After completing the addition of the new search box to your blog, now view you blog to check the Search Box. If everything is correct you will see that you blog has a new Search Box.



Please Share This Post
Stay with TecHieASiF for more IT related post

No comments:

Post a Comment