Les champ de moteur de recherche sur les blog ou site son la plus part du temps les méme alors pourquoi pas changer pour un style différent
Je vais vous expliquer comment ajouter un moteur de recherche de style différent sur blogger.
Pour avoir un champs de recherche comme sur ce site rien de bien compliqué juste à copier et coller un code dans un Mise en page >> Ajouter un gadget >> HTML/Javascript
Installer un moteur de recherche du style qui vous convient :
1 - Le style bouton Noir et le symbole de Recherche du moteur de recherche pour blog : Voir la DEMO
6 - Le dernier style Noir de moteur de recherche pour blog : Voir la DEMO
Je vais vous expliquer comment ajouter un moteur de recherche de style différent sur blogger.
Pour avoir un champs de recherche comme sur ce site rien de bien compliqué juste à copier et coller un code dans un Mise en page >> Ajouter un gadget >> HTML/Javascript
Installer un moteur de recherche du style qui vous convient :
1 - Le style bouton Noir et le symbole de Recherche du moteur de recherche pour blog : Voir la DEMO
<style>2 - Le style bouton Noir en forme de flêche de moteur de recherche pour blog : Voir la DEMO
#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/AVvXsEimKgDjbJWelHGW88BKW4gc-02Q6bOkBwLPdpQBSFlk8zyI_CHQDin2fuAfmJkUYZ4lcIcX1l1s8mJ3d8SEWpxSfrP36uh7lpBs7enIukaYSeziT7SEDcPUPc5Q_OULhDG0ZC4qRgGGMQWZ/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>3 - Le style bouton Bleu avec des bouts arrondi de moteur de recherche pour blog : Voir la DEMO
#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/AVvXsEimKgDjbJWelHGW88BKW4gc-02Q6bOkBwLPdpQBSFlk8zyI_CHQDin2fuAfmJkUYZ4lcIcX1l1s8mJ3d8SEWpxSfrP36uh7lpBs7enIukaYSeziT7SEDcPUPc5Q_OULhDG0ZC4qRgGGMQWZ/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/AVvXsEjsg2C6YgG8KDRK-1M5jlTQOhQD7vSaCKRdzQYPXF6mI_btICntOOHpi0G466_mjSZxz9AJAwF1vs0SafZGsvaiv8kfQjhW112X99wTEjrprZj7A75x26eyCLxzzcPl4UC6ITtfqH1QA2hF/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>4 - Le style bouton Vert avec des bouts arrondi de moteur de recherche pour blog : Voir la DEMO
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcRPKOzueKZb7qA3jHls8c2nnRwcne-kCXHS0l91Z8vIUu9bv7en3Cc5GXOYwYR0FTwp_42bzPryRYKjIBCaRFqD8QsLQB8bK_3bBoBiODk7H6_KwyVJl1VTF5uVXuJnIAPlDGorIRovgm/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/AVvXsEhTVMDGs26SEpcpyakTB9GkOiwVw3XlT4Oz-JCxNTs4U8-2Gk_A9hHdHX9a9sCzpUU4WAZF-Or7f6hQTJf8EwiPGVPBv8EeSbwXM-jl8DPuRleN8Dtm_R1n_8S7u4t6_2pc0zevn9k6ra-k/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/AVvXsEhpbZZy3y_GgPoLJo6nzSB4tOd9BBeS75DQSViXI_gcSEZOUqaIJtYcgsft7sPteJRNZpTNcrvFeRa4gyPXjtY8Gpd8Dx0FEyWp8FvtrZHpkSijoPWlYo7H6toMCu1Q-3yZRxWOqnPqmSUK/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbZZy3y_GgPoLJo6nzSB4tOd9BBeS75DQSViXI_gcSEZOUqaIJtYcgsft7sPteJRNZpTNcrvFeRa4gyPXjtY8Gpd8Dx0FEyWp8FvtrZHpkSijoPWlYo7H6toMCu1Q-3yZRxWOqnPqmSUK/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>5 - Le style Noir non conforme de moteur de recherche pour blog : Voir la DEMO
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi17anKVALWv-kdWkbHxruIbu8mtgJBH7zaJ3TVTQH4UhQ_3EzLzbl28an8zH916oRs1XymqNDLBUeCIu2z0y7uW3V_k33mf6vFjBVjKChoYrtiqCVEz7azkq50a8z8xCoTXvdBeBDMDsut/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/AVvXsEgPqCGXpHWmqL05NyI2eg1GPnDFzDeio5FxWvq8ZUVQKlw-C83A_IVXaOgFebbsz1cUsFlGumzs5upVZ2GftMQGZqVS5ww3b265yASY3inuhN5yGJyUCn5tRCFhN7CYhrDAckHiZib4e3xk/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/AVvXsEgmZ2wYe4xSvCl2ZnglyiFquKsAUOXWmIfD769xjWDojPb5c3o-CGx46QdNnVLAN_TSm_Zu5wGyi5PwPaZOUUblISQlk-kCyS65xLMg9Wl_iymGtCU4r7_hq_bNbvphJ0BzRUxh-m5u7mG_/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>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqqYjI1us1FUAhphUrHRvuUl8HGoBWNmBuvGR0o7u2XI8KaeCO02jbV4mgunsHSLGL2t5XA6vRiZUbov5EpPd9xbJI2cXe3ckjFDJsEpAhIXrafVV-MIotMUELBHr8pcMGxpszudAfNzw4/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/AVvXsEhD9SpZlBNEsLeXxMLJQLAy2zZVEDckjaGsnTuFkCDzZA__sCA5N_Opp_vYGLoW9Z0-XRhUTHraC2Hm6XvDwNTiKg6Tm6xh1WBm8Z_JUgKPYrD73SZ6l-xcwL7tEaGjq53pLRdEkRhM6cLI/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/AVvXsEiNxr2TmNMblEHuQQvF_5eQq3v_LKfA3-nwesQOwu5mqi7EYCo9KJt6VbvpjTzACZSBlDCYtRtA6CQyEyAA87H-_DRh2K6ADluKOLg5xXleQDO1IHNWTkaGZGaXJpyoiFBJG2Wp4mNhsI4h/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNxr2TmNMblEHuQQvF_5eQq3v_LKfA3-nwesQOwu5mqi7EYCo9KJt6VbvpjTzACZSBlDCYtRtA6CQyEyAA87H-_DRh2K6ADluKOLg5xXleQDO1IHNWTkaGZGaXJpyoiFBJG2Wp4mNhsI4h/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>
6 - Le dernier style Noir de moteur de recherche pour blog : Voir la DEMO
<style>
#searchbox {
width: 280px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUMmP1uPfogJNgpN_EflehP9DfKQV-J7p27GzW7K9S_C5_hjb9L80ySL7BB1MMQnLdsyIY_9pPar9Oglxp0Hvr-ylmdRRs9NIR67EMq7PT-KT5d7H4V7V3axgxS4IqjIMXBiFE7U8Rq6QU/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/AVvXsEhD45QF-cjR5uNAWTMzhRkn-yFRqfEUazDSlD2JpZe531vJXAAOhsRd-0FVyxHCiEIsi-BEhAJJnDODXGqBVpAkjQWxcA7bfJirx0bRbts2BiEVixDPsvn-iBos8XkvzhG0MBF6Dftv7wEj/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/AVvXsEiKbkDZU1mGm_SS2TKEZOMVkB-hNWToNDY-Mg6BT_tu9hqzyRis4s2bOG4psX3JZPYrHYaQm_Hnoz-ZJOSwB4eaH_HH04oWQNDDRinm8ulojtrOgJunYRUz90I03Ro6tJauBhNzDD64Lp47/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>
Enregistrer un commentaire
Laisser un commentaire