Como todos sabemos, tener un buscador incluido en nuestro blog o pagina web es fundamental.
Como dice la palabra el buscador es para buscar palabras escritas dentro del buscador tanto en el titulo de nuestras entradas como en el contenido de las mismas.
Por que es fundamental
Tener un buscador en nuestra pagina ayuda a los visitantes a buscar de forma rapida en nuestro blog, sin tener que estar dando vueltas por el mismo.
Ademas el buscador nos da un aspecto muy profesional a nuestra pagina.
Incluir un buscador en mi blog
Par incluir un buscador en nuestro blog solo tenemos que ir a Diseño > Añadir un Gadget.
Dentro ingresamos el codigo que mas nos guste de estos que te presento.
Esilo 1
Estilo 2
Estilo 3
Estilo 4
Estilo 5
Como dice la palabra el buscador es para buscar palabras escritas dentro del buscador tanto en el titulo de nuestras entradas como en el contenido de las mismas.
Por que es fundamental
Tener un buscador en nuestra pagina ayuda a los visitantes a buscar de forma rapida en nuestro blog, sin tener que estar dando vueltas por el mismo.
Ademas el buscador nos da un aspecto muy profesional a nuestra pagina.
Incluir un buscador en mi blog
Par incluir un buscador en nuestro blog solo tenemos que ir a Diseño > Añadir un Gadget.
Dentro ingresamos el codigo que mas nos guste de estos que te presento.
Esilo 1
<style>
#searchbox {
width: 260px;
}
#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/AVvXsEjFQDmmL_ayvQqcAZh1A2jtK9j16tXmzoo7SpjM9bJkNuot4sxfK4RJqsrZAN9Q7Ue5eB9aCdrHpdxYgIYEZwC5PHqfcvd_TJU68Tl8nJYudz76Ztw-kvnDs9oDwfVT4PgxWLW5opX18vol/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
border: 2px solid #f2f2f2;
font: bold 12px Arial,Helvetica,Sans-serif;
color: #6A6F75;
width: 190px;
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/AVvXsEgTyGqxzbbjrAK0ns_hTHtA-yeSKwVFi56cnQfUo1DTJ8pGRFy1UxtuPUqRiIuN1GL-32F5TZ9g08vtuSYE4aBrU9kb-D2JqoqRHYVBIa1pehzjGTXPANAz7WtPhvYKShQKjejj_AOKwkXo/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="Ingrese su búsqueda aquí..." />
<input id="button-submit" type="submit" value=" "/>
</form>
#searchbox {
width: 260px;
}
#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/AVvXsEjFQDmmL_ayvQqcAZh1A2jtK9j16tXmzoo7SpjM9bJkNuot4sxfK4RJqsrZAN9Q7Ue5eB9aCdrHpdxYgIYEZwC5PHqfcvd_TJU68Tl8nJYudz76Ztw-kvnDs9oDwfVT4PgxWLW5opX18vol/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
border: 2px solid #f2f2f2;
font: bold 12px Arial,Helvetica,Sans-serif;
color: #6A6F75;
width: 190px;
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/AVvXsEgTyGqxzbbjrAK0ns_hTHtA-yeSKwVFi56cnQfUo1DTJ8pGRFy1UxtuPUqRiIuN1GL-32F5TZ9g08vtuSYE4aBrU9kb-D2JqoqRHYVBIa1pehzjGTXPANAz7WtPhvYKShQKjejj_AOKwkXo/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="Ingrese su búsqueda aquí..." />
<input id="button-submit" type="submit" value=" "/>
</form>
Estilo 2
<style>
#searchbox {
width: 260px;
}
#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/AVvXsEjFQDmmL_ayvQqcAZh1A2jtK9j16tXmzoo7SpjM9bJkNuot4sxfK4RJqsrZAN9Q7Ue5eB9aCdrHpdxYgIYEZwC5PHqfcvd_TJU68Tl8nJYudz76Ztw-kvnDs9oDwfVT4PgxWLW5opX18vol/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
border: 2px solid #f2f2f2;
font: bold 12px Arial,Helvetica,Sans-serif;
color: #6A6F75;
width: 190px;
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/AVvXsEgTyGqxzbbjrAK0ns_hTHtA-yeSKwVFi56cnQfUo1DTJ8pGRFy1UxtuPUqRiIuN1GL-32F5TZ9g08vtuSYE4aBrU9kb-D2JqoqRHYVBIa1pehzjGTXPANAz7WtPhvYKShQKjejj_AOKwkXo/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="Ingrese su búsqueda aquí..." />
<input id="button-submit" type="submit" value=" "/>
</form>
#searchbox {
width: 260px;
}
#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/AVvXsEjFQDmmL_ayvQqcAZh1A2jtK9j16tXmzoo7SpjM9bJkNuot4sxfK4RJqsrZAN9Q7Ue5eB9aCdrHpdxYgIYEZwC5PHqfcvd_TJU68Tl8nJYudz76Ztw-kvnDs9oDwfVT4PgxWLW5opX18vol/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
border: 2px solid #f2f2f2;
font: bold 12px Arial,Helvetica,Sans-serif;
color: #6A6F75;
width: 190px;
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/AVvXsEgTyGqxzbbjrAK0ns_hTHtA-yeSKwVFi56cnQfUo1DTJ8pGRFy1UxtuPUqRiIuN1GL-32F5TZ9g08vtuSYE4aBrU9kb-D2JqoqRHYVBIa1pehzjGTXPANAz7WtPhvYKShQKjejj_AOKwkXo/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="Ingrese su búsqueda aquí..." />
<input id="button-submit" type="submit" value=" "/>
</form>
Estilo 3
<style type="text/css">
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_14CtxEtxS3fz9fc9DEM-PH43BI3Ckuc5I76Bfq_z8cOhwEGQe10Pi7ULoygFpgAz7iaFUTFiZ0pCwVU6Vp96ppETe5Upjz5udeWvKwgAF__dbOQYonEL2OgHQx_Gwq7A586q8kNTPHBl/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 0 0 20px;padding: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/AVvXsEjkiRS1UpJ061sqr2HbGpyya3ztn6OiVRzkHQXXbYfZtHZHR1swblpnT6o4tHBTZEcWWA5uyBq4EppJ0kVbk67JAKhngcBRUODpllcB1teFRrox506WAMLsiT7y3jtAzjq5uVhAVY3qNfka/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/AVvXsEjyv5HdWWYhmBAUx417Wc2HXYtJxYpoSuOwE_78h0SMWV9N8H5QBhqyQpzKPlfRlIHoIWM5d931ILQKe4UOJ78IBhS2iKt_QAN3doR8C8Yeu498LtYCIdRizkaNr14YdWRmKmECCafVzOMd/s1600/magnifier-hover.png) no-repeat}#button-submit:active{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyv5HdWWYhmBAUx417Wc2HXYtJxYpoSuOwE_78h0SMWV9N8H5QBhqyQpzKPlfRlIHoIWM5d931ILQKe4UOJ78IBhS2iKt_QAN3doR8C8Yeu498LtYCIdRizkaNr14YdWRmKmECCafVzOMd/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="" /></
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_14CtxEtxS3fz9fc9DEM-PH43BI3Ckuc5I76Bfq_z8cOhwEGQe10Pi7ULoygFpgAz7iaFUTFiZ0pCwVU6Vp96ppETe5Upjz5udeWvKwgAF__dbOQYonEL2OgHQx_Gwq7A586q8kNTPHBl/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 0 0 20px;padding: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/AVvXsEjkiRS1UpJ061sqr2HbGpyya3ztn6OiVRzkHQXXbYfZtHZHR1swblpnT6o4tHBTZEcWWA5uyBq4EppJ0kVbk67JAKhngcBRUODpllcB1teFRrox506WAMLsiT7y3jtAzjq5uVhAVY3qNfka/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/AVvXsEjyv5HdWWYhmBAUx417Wc2HXYtJxYpoSuOwE_78h0SMWV9N8H5QBhqyQpzKPlfRlIHoIWM5d931ILQKe4UOJ78IBhS2iKt_QAN3doR8C8Yeu498LtYCIdRizkaNr14YdWRmKmECCafVzOMd/s1600/magnifier-hover.png) no-repeat}#button-submit:active{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyv5HdWWYhmBAUx417Wc2HXYtJxYpoSuOwE_78h0SMWV9N8H5QBhqyQpzKPlfRlIHoIWM5d931ILQKe4UOJ78IBhS2iKt_QAN3doR8C8Yeu498LtYCIdRizkaNr14YdWRmKmECCafVzOMd/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="" /></
Estilo 4
<style type="text/css">
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6JCeD8CsyqnwWcGzgNXawaEPylu8ttf2in8h1Mse5lQHLDWnc7NYUqG2WZe7VIQPDpTiroG_KSoLZxKzjkXoafxjserwMqgxrcnksO-F_CP2JTez3acB3nO7lXnofuis5sZBfiMpvIU1e/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:0 0 0 12px;padding:5px 0;border-width:0;font:italic 12px "Arial Narrow",Arial,sans-serif;width:77%;color:#828282;display:inline-table;vertical-align:top}#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiklk-9-46Mm2T13T6gv7cWtwO_Mtdve-Ahh7vp0uYKFohBqEcFd_Kl0RbJTaNP87eovUyKCgEctj7nFFFMxOdNrTs-1LIFZMcFNklA1RNppqTVo3umyNi9fqOvMIW8eOHmdL6R-o5oIrch/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/AVvXsEhpCDtZVCZTd0buQsMSsH3UdcmdenBdnhoTM1hR66n8SdPcmp812ohhdMC5bwqN-fLYeOVOfZBPlws76BqwD6hU-NB2L8f2vVdkf-DpPwIOWShMZz98Xx21jV9HwDKSn3mbBp3rr-n3KAUP/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>
#searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6JCeD8CsyqnwWcGzgNXawaEPylu8ttf2in8h1Mse5lQHLDWnc7NYUqG2WZe7VIQPDpTiroG_KSoLZxKzjkXoafxjserwMqgxrcnksO-F_CP2JTez3acB3nO7lXnofuis5sZBfiMpvIU1e/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:0 0 0 12px;padding:5px 0;border-width:0;font:italic 12px "Arial Narrow",Arial,sans-serif;width:77%;color:#828282;display:inline-table;vertical-align:top}#button-submit{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiklk-9-46Mm2T13T6gv7cWtwO_Mtdve-Ahh7vp0uYKFohBqEcFd_Kl0RbJTaNP87eovUyKCgEctj7nFFFMxOdNrTs-1LIFZMcFNklA1RNppqTVo3umyNi9fqOvMIW8eOHmdL6R-o5oIrch/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/AVvXsEhpCDtZVCZTd0buQsMSsH3UdcmdenBdnhoTM1hR66n8SdPcmp812ohhdMC5bwqN-fLYeOVOfZBPlws76BqwD6hU-NB2L8f2vVdkf-DpPwIOWShMZz98Xx21jV9HwDKSn3mbBp3rr-n3KAUP/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>
Estilo 5
<style type="text/css">
#searchbox{background:url(http://2.bp.blogspot.com
</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>
#searchbox{background:url(http://2.bp.blogspot.com
</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>
Nota:
Antes de realizar cualquier cambio en nuestro blog, tendremos que realizar una copia de seguridad del mismo por si algo no sale bien.
Puedes ver en este post como lo hacemos paso a paso
Antes de realizar cualquier cambio en nuestro blog, tendremos que realizar una copia de seguridad del mismo por si algo no sale bien.
Puedes ver en este post como lo hacemos paso a paso
No hay comentarios:
Publicar un comentario
Deja tu comentario y en breve te contestaremos