Skip to main content

8 Stylish Custom Search Box को Blog में कैसे Add करे

क्या आपने अपने blog या site पर search box को लगाया है ? अगर नहीं लगाया है तो तुरंत लगा ले क्योंकि अगर यह बॉक्स आपके blog पर नहीं यह तो समझ लीजिये की आप अपने ब्लॉग के बहुत सारे pageview को lose कर रहे है | मान लेते है अगर कोई visitor हमारे ब्लॉग पर आता है और वह अपने पसंद का कुछ जरुरी post को पढ़ना चाहता है और यदि हमारे site पर लगभग 300-400 पोस्ट है  या फिर इससे अधिक है तो इतने सारे पोस्ट में से वे अपना पसंद का पोस्ट कैसे ढूढेंगे |


ऐसे condition में search box हमारे blog पर आने वाले visitor की मदद कर सकता है | कोई भी visitor search box में लिखकर अपने पसंद का पोस्ट हमारे blog/site से search कर सकता है | इससे हमारे blog का pageview increase होता है और visitor को अपने जरुरत का post खोजने में आसानी होती है |


8 Stylish Custom Search Box को Blog में कैसे Add करे


BlogSpot blog में search box gadget का feature पहले से होता है | बस आपको इस gadget को अपने ब्लॉग में add करना है | इसके लिए आपको Layout >> Add a Gadget >> Search Box के option में जाना है | परंतु यह widget बहुत ही simple होता है | इसलिए मैं आपको इस post 8 stylish custom search box को blog/site में add करने के लिए बतलाऊंगा | इसके लिए बस आपको इसके code को HTML/JavaScript में add करना है |


Read Also :


  • 7 Stylish Number Page Navigation Widget को Blogger में Add करे |

  • AdSense Account कैसे बनाये Blog के लिए : Full Guide

8 Stylish Custom Search Box Code


1. First Search Box


black-colour-stylish-seasrch-box

<style type=”text/css”>
#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/AVvXsEj-ZCl8wkmRI-8npuV_4WBz6R15nvDof8tVVTq3e6mANXeUacUhgb0fGj0fGZfos6HQYrPAAeYlM3Bbx0E4G0qzUyOuJTArj1WPKqm6hbgni-7KyfeRRGofCh-Og77RD5Mr3p2p2Pd0NsSW/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 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/AVvXsEhyYLVeuhYf57gKlELVKy0OqSI4FCIoodYosJbfgO-VZ6KznShMcOlJ1IdLz0qc7H-mSYrNUvh9mV3LVijojCvjjCwzIWxcyzuf6jzmJ5qVtMH4tZnYhwl53o1iON8ZbZd-x79NFUtA__Lt/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>

 


2. Second Search Box


black-search-box


<style>
#nbc-searchexpandbox1
{
padding: 10px ;
}
#nbc-searchexpandsubmit1
{
border : 1px solid #111111 ;
background: #111111 ;
padding: 5px ;
color : #ffffff ;
font : 14px verdana;
}
#nbc-searchexpandinput1
{
-moz- border-radius : 10px ;
-khtml-border-radius : 10px ;
-webkit- border-radius : 10px ;
border : 1px solid #dcdcdc ;
background: #ffffff ;
padding: 5px ;
color : #888888 ;
font : 14px verdana;
transition: width 2s ;
-webkit- transition: width 2s ; /* Safari */
-o- transition: width 2s ; /* Opera*/
-moz- transition: width 2s ; /* firefox*/
width : 65px ;
}
#nbc-searchexpandinput1:hover
{
width : 200px ;
}
</style>
<div id= ‘nbc-searchexpand1’ >
<form action= ‘/search/max-results=8’
method= ‘get’ id= “nbc-searchexpandbox1” >
<input name= ‘q’ id= ‘nbc-searchexpandinput1’ onblur= ‘if (this.value == “”) {this.value = “Search this site…”;}’
onfocus= ‘if (this.value == “Search this site…”) {this.value = “”}’ type= ‘text’ value= ‘Search this site…’ />
<input id= ‘nbc-searchexpandsubmit1’
type= ‘submit’ value= ‘Search’ />
</form>
</div>

 


3. Third Search Box


green-colour-seasrch-for-blog


<style>
#nbc-searchgreen1
{
background: rgb ( 143 , 196 , 0 ); /* Old browsers */
background: -moz-linear-gradient (top,  rgba( 143 , 196 , 0 , 1 ) 0% , rgba( 143 , 196 , 0 , 1 ) 100% ); /* FF3.6+ */
background: -webkit-gradient (linear, left top,
left bottom, color-stop ( 0% , rgba( 143 , 196 , 0 , 1 )),
color-stop ( 100% , rgba ( 143 , 196, 0 , 1 ))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient (top,  rgba( 143 , 196 , 0 , 1 ) 0% , rgba( 143 , 196 , 0 , 1 ) 100% ); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient (top,  rgba( 143 , 196 , 0 , 1 ) 0% , rgba( 143 , 196 , 0 , 1 ) 100% ); /* Opera 11.10+ */
background: -ms-linear-gradient (top,  rgba( 143 , 196 , 0 , 1 ) 0% , rgba( 143 , 196 , 0 , 1 ) 100% ); /* IE10+ */
background: linear-gradient (to bottom,  rgba( 143 , 196 , 0 , 1 ) 0% , rgba( 143 , 196 , 0 , 1 ) 100% ); /* W3C */
filter : progid: DXImageTransform .Microsoft.gradient( startColorstr= ‘#8fc400’ ,
endColorstr= ‘#8fc400’ , GradientType = 0 ); /* IE6-9 */
border-radius : 10px ;
width : 290px ;
}
#nbc-searchgreenbox1
{
padding: 10px ;
}
#nbc-searchgreensubmit1
{
border : 1px solid green;
background: green ;
padding: 5px ;
color : #ffffff ;
font : 14px verdana;
}
#nbc-searchgreeninput1
{
-moz- border-radius : 10px ;
-khtml-border-radius : 10px ;
-webkit- border-radius : 10px ;
border : 1px solid #ffffff ;
background: #ffffff ;
padding: 5px ;
color : #888888 ;
font : 14px verdana;
}
</style>
<div id= ‘nbc-searchgreen1’ >
<form action= ‘/search/max-results=8’
method= ‘get’ id= “nbc-searchgreenbox1” >
<input name= ‘q’ id= ‘nbc-searchgreeninput1’ onblur= ‘if (this.value == “”) {this.value = “Search this site…”;}’
onfocus= ‘if (this.value == “Search this site…”) {this.value = “”}’ type= ‘text’ value= ‘Search this site…’ />
<input id= ‘nbc-searchgreensubmit1’
type= ‘submit’ value= ‘Search’ />
</form>
</div>

 


4. Fourth Search Box


blue-with-yellow-search-button


<style>
#nbc-searchblue1
{
background: rgb ( 37 , 141 , 200); /* Old browsers */
background: -moz-linear-gradient (top,  rgba( 37 , 141 , 200 , 1 ) 0% , rgba( 37 , 141 , 200 , 1 ) 100% ); /* FF3.6+ */
background: -webkit-gradient (linear, left top,
left bottom, color-stop ( 0% , rgba( 37 , 141 , 200 , 1 )),
color-stop ( 100% , rgba ( 37 , 141 , 200, 1 ))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient (top,  rgba( 37 , 141 , 200 , 1 ) 0% , rgba( 37 , 141 , 200 , 1 ) 100% ); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient (top,  rgba( 37 , 141 , 200 , 1 ) 0% , rgba( 37 , 141 , 200 , 1 ) 100% ); /* Opera 11.10+ */
background: -ms-linear-gradient (top,  rgba( 37 , 141 , 200 , 1 ) 0% , rgba( 37 , 141 , 200 , 1 ) 100% ); /* IE10+ */
background: linear-gradient (to bottom,  rgba( 37 , 141 , 200 , 1 ) 0% , rgba( 37 , 141 , 200 , 1 ) 100% ); /* W3C */
filter : progid: DXImageTransform .Microsoft.gradient( startColorstr= ‘#258dc8’ ,
endColorstr= ‘#258dc8’ , GradientType = 0 ); /* IE6-9 */
border-radius : 10px ;
width : 290px ;
}
#nbc-searchbluebox1
{
padding: 10px ;
}
#nbc-searchbluesubmit1
{
border : 1px solid orange;
background: orange ;
padding: 5px ;
color : #ffffff ;
font : 14px verdana;
}
#nbc-searchblueinput1
{
-moz- border-radius : 10px ;
-khtml-border-radius : 10px ;
-webkit- border-radius : 10px ;
border : 1px solid #ffffff ;
background: #ffffff ;
padding: 5px ;
color : #888888 ;
font : 14px verdana;
}
</style>
<div id= ‘nbc-searchblue1’ >
<form action= ‘/search/max-results=8’
method= ‘get’ id= “nbc-searchbluebox1” >
<input name= ‘q’ id= ‘wc-searchblueinput1’ onblur= ‘if (this.value == “”) {this.value = “Search this site…”;}’
onfocus= ‘if (this.value == “Search this site…”) {this.value = “”}’ type= ‘text’ value= ‘Search this site…’ />
<input id= ‘nbc-searchbluesubmit1’
type= ‘submit’ value= ‘Search’ />
</form>
</div>

 


5. Fifth Search Box


simple-red-search



<div id=”_bcd_141013″ style=”display:none”></div>
<style type=”text/css”>
form#_bcd_141013_search_form {
position: relative;
display: block;
clear: both;
float: none;


border: /*border-width-s*/1px solid;/*border-width-e*/
border-color: /*border-color-s*/#dddddd;/*border-color-e*/
padding: /*padding-s*/5px;/*padding-e*/
font-size: /*font-size-s*/12px;/*font-size-e*/
background-color: /*bg-color-s*/#ffffff;/*bg-color-e*/
}
input#_bcd_141013_search_text {
width: auto;
border: none;
margin: 0;
padding: 0;
line-height: 2em;
height: 2em;
outline: none;
background: transparent;


color: /*text-color-s*/#000000;/*text-color-e*/
}
button#_bcd_141013_search_submit:hover {
opacity: 0.8;
}
button#_bcd_141013_search_submit {
width: auto;
padding: 0 /*padding-s*/5px;/*padding-e*/
margin: 0;
position: absolute;
right: /*padding-s*/5px;/*padding-e*/
top: /*padding-s*/5px;/*padding-e*/
line-height: 2em;
height: 2em;
text-align: center;
cursor: pointer;
border: none;
min-width: 2em;


color: /*submit-text-color-s*/#ffffff;/*submit-text-color-e*/
background: /*submit-bg-color-s*/#ff0000;/*submit-bg-color-e*/
}
html[dir=”rtl”] button#_bcd_141013_search_submit {
right: auto;
left: /*padding-s*/5px;/*padding-e*/
}
</style>


<form action=’/search’ id=’_bcd_141013_search_form’ method=’get’>
<input id=’_bcd_141013_search_text’ name=’q’ placeholder=”Search post….” data-placeholder-end=”” type=’text’/>
<button type=”submit” id=”_bcd_141013_search_submit”><i class=”fa fa-search”></i></button><!–endofsearsubmit–>
</form>


<script type=”text/javascript”>
/*
Author: Himanshu Kumar
Site: http://www.newfeatureblog.com/
*/
var ss = document.getElementsByTagName(‘link’);
for (var i = 0; i < ss.length; i++) {
var href = ss[i].getAttribute(‘href’);
if (href && href != null && href.indexOf(“font-awesome/”) != -1) {
break;
}
}
if (i >= ss.length) {
var link = document.createElement(“link”);
link.rel = “stylesheet”;
link.href = “http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css”;
}
document.getElementsByTagName(“head”)[0].appendChild(link);


</script>



 


6. Sixth Search Box


black-with-red-search-button


<style>
#nbc-searchblack1
{
background: #222222 ;
border-radius : 10px ;
width : 290px ;
}
#nbc-searchblackbox1
{
padding: 10px ;
}
#nbc-searchblacksubmit1
{
border : 1px solid #222222 ;
background: #dc4523 ;
padding: 5px ;
color : #ffffff ;
font : 14px verdana;
}
#nbc-searchblackinput1
{
-moz- border-radius : 10px ;
-khtml-border-radius : 10px ;
-webkit- border-radius : 10px ;
border : 1px solid #ffffff ;
background: #ffffff ;
padding: 5px ;
color : #888888 ;
font : 14px verdana;
}
</style>
<div id= ‘nbc-searchblack1’ >
<form action= ‘/search/max-results=8’
method= ‘get’ id= “nbc-searchblackbox1” >
<input name= ‘q’ id= ‘nbc-searchblackinput1’ onblur= ‘if (this.value == “”) {this.value = “Search this site…”;}’
onfocus= ‘if (this.value == “Search this site…”) {this.value = “”}’ type= ‘text’ value= ‘Search this site…’ />
<input id= ‘nbc-searchblacksubmit1’
type= ‘submit’ value= ‘Search’ />
</form>
</div>

 


7. Seventh Search Box


red-colour-stylish-search-box


<style type= “text/css” >
#nbc-searchbox { background: url
( http :// 3 .bp.blogspot.com/-DqQKomzx 0 pw/Ue 7 BlSCh 3 zI/AAAAAAAAAiA/U 3 c 87 KbsBQc/s 1600 /noxdo_blogspot_com_Search-icon 6 .png) no-repeat scroll center center transparent; width : 307px ; height : 50px ; disaply: block
;}
form#nbc-searchform { display: block ; padding: 10px
12px ; margin: 0 ;}
form#nbc-searchform #s { padding:
6px ; margin: 0 ; width : 235px ; font-size : 14px ; vertical-align :
top ; border: none ; background: transparent;}
form#nbc-searchform #sbutton
{ margin : 0 ; padding: 0 ; height: 30px ; width : 30px ;
vertical-align :
top ; border: none ; background: transparent;}
</style>
<div id= “nbc-searchbox” >
<form id= “nbc-searchform” action= “/search/max-results=8” 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>

 


8. Eighth Search Box


black-stylish-search-bar


<style type= “text/css” >
#nbc-searchbox { background: url
( http :// 1 .bp.blogspot.com/-NN 0 X 9 atWQVA/Ue 7 BSA-RMFI/AAAAAAAAAh 0 /hlsMUg 1 hQko/s 1600 /noxdo_blogspot_com_Search-icon 5 .png) no-repeat scroll center center transparent; width : 307px ; height : 50px ; disaply: block
;}
form#nbc-searchform { display: block ; padding:
12px ; margin: 0 ;}
form#nbc-searchform #s { padding: 6px 6px 6px
26px ; margin: 0 ; width : 215px ; font-size : 14px ; vertical-align :
top ; border: none ; background: transparent;}
form#nbc-searchform #sbutton
{ margin : 0 ; padding: 0 ; height: 30px ; width : 30px ;
vertical-align :
top ; border: none ; background: transparent;}
</style>
<div id= “nbc-searchbox” >
<form id= “nbc-searchform” action= “/search/max-results=8” method= “get” >
<input type= “text” id= “s” name= “q” value= “” />
</form>
</div>

8 Stylish Custom Search Box को Blog में कैसे Add करे ?


Search Box को ब्लॉग में add करने के लिए निम्न steps को follow करे :


Step 1


सबसे पहले अपने blogger account में login करे |


Step 2


  1. Layout option पर click करे |

  2. Blog में जिस स्थान पर search box को लगाना चाहते है, उस स्थान के Add a Gadget link पर click करे |

click-on-layout-add-a-gadget


Step 3


HTML/JavaScript पर click करे |


click-on-html-javascript


Step 4


  1. अपने हिसाब से जो title लिखना है लिखे जैसे कि ‘Search this blog’ etc.

  2. जिस search box को आप लगाना चाहते है, उसके code को copy करके content box में paste कर दे |

  3. Lastly, Save पर click करे |

paste-code-in-content-box-and-save


बस हो गया अब search box आपके blog में add हो चूका है | आप अपने blog को check करके देख सकते है |


Read Also :


  • HTML Sitemap Page कैसे बनाये or Blog में Add करे

  • RevenueHits Ads Network पर Account बनाकर पैसा कैसे कमाये ?

उम्मीद है कि आपको यह पोस्ट पसंद आया होगा | इन stylish custom search box को blog में add करने में कोई problem आती है तो मुझे comment करे |


इसी तरह का पोस्ट पढ़ते रहने के लिए मुझे subscribe करे | अगर यह पोस्ट पसंद आया हो तो इसे social sites पर share करे |


The post 8 Stylish Custom Search Box को Blog में कैसे Add करे appeared first on New Feature Blog.

Comments

Popular posts from this blog

Linkedin Par Apna Account Kaise Banaye

Linkedin aaj ke jamane me ek famous professional social networking sites hai. Linkedin par aapko kitne hi million users mil jayenge jinki madad se aap apne ideas, knowledge ko increase kar sakte hai. Is site par aapko kitne hi professional log milege. Agar aap unke saath business karna chahte hai to yah site aapki bahut help karegi. Yah site aapko job search karne me bhi help karegi. Jyadatar business karne wale log is site par apne business ka promotion ke liye advertising karte hai. Jis tarah se blog ya website ka advertising facebook, twitter etc. par kiya jaata hai, usi tarah se linkedin par bhi aap apne blog ya website ka advertise kar sakte hai aur apni site ya blog ki traffic increase kar sakte hai. Read Also : Facebook पर Account कैसे बनाये ? Facebook पर Single Name Kaise Set करे : Easy Trick Ab hum sidhe apne point par aate hai aur aapko batana start karte hai ki linkedin par...

Program Guidelines

Publishers participating in our program are bound by the terms and conditions available  at  http://www.media.net/legal/tos . In addition, all publishers must read and comply with the policies provided below. Media.net reserves the right to change the policies at any time without prior notice to the publisher. The publisher understands that it is their sole responsibility to keep themselves abreast of all policies available here. Media.net reserves the sole right to warn, or without notice, terminate any publisher that is found in violation of these policies. Media.net may make exceptions to any of these policies at their sole discretion. Program Guideline Our program is currently only open to website(s) with premium content that fulfill the criteria specified below: Contain significant amount of original content that is updated regularly and does not infringe any third party intellectual property rights Receive majority of their traffic from US / UK / Canada...

11 Attractive Fast Loading Email Subscription Widget Ko Apne Blog Me Lagaye

Email subscription kisi bhi blogger ke blog ya website ki traffic ko badhane me bahut hi important role nibhati hai. Maine apni pichhli post me iske baare me batlaya tha ki email subscribe box kya hai aur isko blog me kaise lagate hai. Jab koi visitor blogger ke blog par lagaye email subscribe box me apna email dalkar subscribe karta hai to us visitor ke email par ek activation message aata hai. Activation message me link hota hai. Link par click karte hi visitor ke email par free email delivery ki service activate ho jaati hai. Matlab ab agar blogger koi bhi new post publish karega to visitor ko new post ki jaankari direct email par mil jaayegi. Iske baad visitor post ko padhne ke liye blog par visit karega jisse ki blogger ki traffic increase hogi. Yah maine aapko short me iske important ke baare me batla diya. Ab hum sidhe apne point par aate hai. Maine niche 11 email subscription widget ko diya hai. Aapko jo widget pasand aaye usko aap apne blog me lagaye. Widget me aapko kuchh...