Untuk menerapkan diblog anda berikut adalah tutorialnya. Oiya tutorial ini saya peroleh dari sahabat blogger saya yaitu caragampang.com.
- Loggin blog
- Template --> Edit HTML --> Lanjutkan
- Backup terlebih dahulu template anda
- Cari kode ]]></b:skin>
- Letakkan kode berikut ini sebelum kode ]]></b:skin>
searchform {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjStJ_fy8xqgckF6wUrR5Oap41KCmlHmNy6n8KtA90GMc6VDpaAIugP16yKMNx20vWu_LEqG8pKC3cqrvkVxdMSLoJoXWa6e41bEnV6v_qZ5pHDb2WDJsrXafm2FU7Fnj6orkhyaAdvkFNS/s1600/CarGam-search.png) no-repeat; width:550px;height:47px;
display: inline-block;zoom: 1; /* ie7 hack for display:inline-block */
*display: inline;border: solid 0px #ccc;padding: 0px;}
.searchform input {font: normal 12px Arial, Helvetica, sans-serif;padding:6px;}
.searchform .searchfield {background: #e5e5e5;width: 416px;outline: none;margin:5px 2px 0px 5px;;border-top:1px solid #888;border-left:1px solid #888;border-right:1px solid #ccc;border-bottom:1px solid #ccc;}
.searchform .searchbutton {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoTU5JfuM_OjB0eu8kh24bYZvWcqG9lqiwcbto-sWxUl5TFYrhx4nUI071ohgXaCtx5qmQihup2MMm6Xz-GXacCSCz6OX4jTgQTSiGotoBUqhd5fARWlPwA1V0Xkgyo2J_3-Dxi7wo8DPC/s1600/bg_pencarian_cargam.jpg) no-repeat;height: 28px; width: 104px;border:none;}
- Simpan
- Setelah login
- Tata Letak --> Tambah Gadget
- Pilih HTML/Java cript
- Masukkan kode dibawah ini
<br/><center><form action=' /search' class='searchform' method='get'>
<input class='searchfield' id='q' name='q' onblur='if (this.value == "") {this.value = "";}' onfocus='if (this.value == "") {this.value = ""}' type='text' value=''/>
<input class='searchbutton' type='submit' value=''/>
</form></center>
- Simpan
Tidak ada komentar:
Posting Komentar