Cara Membuat Kotak Pencarian plus Ikon Media Sosial
January 26, 2015
CARA memasang, menampilkan, atau membuat widget Kotak Pencarian (Search Box) plus Ikon Media Sosial di sidebar blog sangat mudah. Kita tinggal pasang kode.
Contohnya ada di sidebar blog CB ini, namun yang persis sama dengan kode yang CB share di bawah ini demonya bisa dilihat di Online News Template yang baru saja dipasang.
Kotak Pencarian merupakan salah satu menu utama dalam sebuah situs web/blog. Kotak ini memudahkan pengunjung dan admin blog sendiri untuk mencari informasi yang dibutuhkan.
Blog yang tidak dipasangi kotak pencarian termasuk kategori yang buruk dan tidak user friendly. Sedangkan ikon sosial media berguna bagi nusa dan bangsa, eh.... berguna bagi meningkatkan jumlah follower, teman, atau liker.
Sebelum memasangnya, tentu saja Anda harus punya dulu akun-akun media sosialnya.
2. Copy + Paste kode berikut ini di kolom "Content". Kolom judul biarkan kosong.
3. Ganti ID yang berwarna merah dengan kepunyaan Anda.
4. Save!
Selamat, kini Kotak Pencarian plus Ikon Media Sosial sudah muncul di sidebar blog Anda!
Contohnya ada di sidebar blog CB ini, namun yang persis sama dengan kode yang CB share di bawah ini demonya bisa dilihat di Online News Template yang baru saja dipasang.
Kotak Pencarian merupakan salah satu menu utama dalam sebuah situs web/blog. Kotak ini memudahkan pengunjung dan admin blog sendiri untuk mencari informasi yang dibutuhkan.
Blog yang tidak dipasangi kotak pencarian termasuk kategori yang buruk dan tidak user friendly. Sedangkan ikon sosial media berguna bagi nusa dan bangsa, eh.... berguna bagi meningkatkan jumlah follower, teman, atau liker.
Sebelum memasangnya, tentu saja Anda harus punya dulu akun-akun media sosialnya.
Cara Membuat Kotak Pencarian plus Ikon Media Sosial
1. Layout > Add a Gadget di sidebar paling atas.2. Copy + Paste kode berikut ini di kolom "Content". Kolom judul biarkan kosong.
<!-- SEARCH BOX -->
<style>
#search-box {position: relative;width: 100%;margin: 0;}
#search-form {height: 30px;border: 1px solid #999;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;background-color: #fff;overflow: hidden;}
#search-text {font-size: 14px;color: #ddd;border-width: 0;background: transparent;}
#search-box input[type="text"]
{width: 90%;padding: 7px 0 12px 1em;color: #333;outline: none;}
#search-button {position: absolute;top: 0;right: 0;height: 32px;width: 80px;font-size: 14px;color: #fff;text-align: center;line-height: 32px;border-width: 0;background-color: #4d90fe;-webkit-border-radius: 0px 5px 5px 0px;-moz-border-radius: 0px 5px 5px 0px;border-radius: 0px 5px 5px 0px;cursor: pointer;}
</style>
<div id='search-box'>
<form action='/search' id='search-form' method='get' target='_top'>
<input id='search-text' name='q' placeholder='Search here...' type='text'/>
<button id='search-button' type='submit'><span>Search</span></button>
</form>
</div>
<!-- SEARCH BOX END -->
<!-- SOCIAL PROFILE END -->
<div class='widget-content'>
<style>
#socialwidget {width: 300px;margin:10px 1px 10px 1px;}
.TZ-social{padding:0 5px 15px;}
.TZ-social img:hover{opacity:0.8}
.googleplus {background: #ffffff;border-top: 1px solid white;border-bottom: 1px solid #ebebeb;font-size: 12px;color: #000;padding: 9px 11px;line-height: 1px;font-family: Verdana, Geneva, sans-serif;}
.TZ {background: #ffffff;border-top: 1px solid white;font-size: 12px;color: #000;padding: 9px 11px;line-height: 1px;font-family: Verdana, Geneva, sans-serif;}
.TZ span {color: #000;font-size: 11px;position: absolute;margin: -12px 100px;width: 310px;}
#widgetbox .author-credit a {font-size: 10px;font-size: 10px;letter-spacing: 1px;color: #1E598E;text-decoration: none;}
.TZDefault {border: 0px solid #dedede;text-shadow: #d08d00 1px 1px 0;background-color: #ff9b00;background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#ffca00),color-stop(1,#ff9b00));background: -webkit-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -moz-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -o-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -ms-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: linear-gradient(center top,#ffca00 0,#ff9b00 100%);}
.TZDefault:hover {background-color: #ff9b00;background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#ffe480),color-stop(1,#ff9b00));background: -webkit-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -moz-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -o-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -ms-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: linear-gradient(center top,#ffe480 0,#ff9b00 100%);}
</style>
<div id='socialwidget'>
<div class='TZ-social'>
<!-- social ico -->
<center>
<a href='http://facebook.com/cbblogger' rel='nofollow' style='margin-right: 15px;' target='_blank'>
<img alt='Facebook' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHif0PFbSFcS8m0oFgwhS2CAipk1YBC6npQU1SdKvCJiQKBPWTC859c_SVy78d-vfp2MFyEqjnBF5LFWTfZ-P20qPxJbajbcbylrMjNPdTmVavVWPhd_XfmSZcJs07rQkuqaWV12N5-hQ/s1600/facebook.png'/></a>
<a href='http://twitter.com/contohblog' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='Twitter' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuo-UN9RUJlJL48yYX93pl-IduCN-BPdr2WwYtYLaegxiR3tb-ZEHL-2IDIc3usRJYdd5dQxBJk9K5lnS5dskS7gugANk-xAUwCJBDFVLW4Px2hvbGazsJlg7g1BNXJk5JP9uphTSDVHg/s1600/twitter.png'/></a>
<a href='https://plus.google.com/106869251529186655236/posts' rel='me' style='margin-right: 12px;' target='_blank'>
<img alt='Google Plus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj43gYosvbRoqnThrAJQcyKogXTg6PfCF_V6RzEnAnr2foftf1D5GbuXB0kEyb_bFn-vIg76516Fy6DBIVOwPmsPRR6LH0ghgqr78xN7a7h8mOh1YJnAuZNBbV__u9LbLYQQj3c7Xz6kA/s1600/gplus.png'/></a>
<a href='http://www.pinterest.com/cbblogger' style='margin-right: 12px;' target='_blank'>
<img alt='Pinterest' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8h1N2HecZRWNDoTA9way38lK3Lfti-HRf8uXZXlgXStJptDWMMzf-BUyofYC9Ylm8ElemFMULD46SOycnX4fg9Mfcq2hAYOMM4aDAEhf01JJ3I8lAHXagKxVLBoB5MQrBb13UnTZfz1U/s1600/pinterest.png'/></a>
<a href='http://feeds.feedburner.com/contohblognih' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='RSS Feed' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeHHpQcRdX_43Upkm9Spbx1gjGzL3ffNPxoxAEjRGsxP6YcHWUcpiQVkp8n-kGjYcCrdPEfpCpCTtWUz2N1BYyQfI6KeaMc8KikbcCJeeSd0xIxzhYDqY7ZNuF5PJ-FgWuMfYJ_RkzTA/s1600/rss.png'/></a>
<a href='http://www.linkedin.com/in/cbblogger' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='Linkedin' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMyJLzfn_8t4GBFqK1SeTMDYJ3n8wpFBLZAcQoT016Ykob9CIAVlPVahRens-0evpmo_pNu8LUimoKKOV6YIB2lqLUGlHVUyPnJ7mbobL4bp07ghmnBIe3KL4eZKIVpEQEo1b42mTAlL4/s1600/linkedin.png'/></a>
</center>
</div>
</div>
</div>
<!-- SOCIAL PROFILE END -->
<style>
#search-box {position: relative;width: 100%;margin: 0;}
#search-form {height: 30px;border: 1px solid #999;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;background-color: #fff;overflow: hidden;}
#search-text {font-size: 14px;color: #ddd;border-width: 0;background: transparent;}
#search-box input[type="text"]
{width: 90%;padding: 7px 0 12px 1em;color: #333;outline: none;}
#search-button {position: absolute;top: 0;right: 0;height: 32px;width: 80px;font-size: 14px;color: #fff;text-align: center;line-height: 32px;border-width: 0;background-color: #4d90fe;-webkit-border-radius: 0px 5px 5px 0px;-moz-border-radius: 0px 5px 5px 0px;border-radius: 0px 5px 5px 0px;cursor: pointer;}
</style>
<div id='search-box'>
<form action='/search' id='search-form' method='get' target='_top'>
<input id='search-text' name='q' placeholder='Search here...' type='text'/>
<button id='search-button' type='submit'><span>Search</span></button>
</form>
</div>
<!-- SEARCH BOX END -->
<!-- SOCIAL PROFILE END -->
<div class='widget-content'>
<style>
#socialwidget {width: 300px;margin:10px 1px 10px 1px;}
.TZ-social{padding:0 5px 15px;}
.TZ-social img:hover{opacity:0.8}
.googleplus {background: #ffffff;border-top: 1px solid white;border-bottom: 1px solid #ebebeb;font-size: 12px;color: #000;padding: 9px 11px;line-height: 1px;font-family: Verdana, Geneva, sans-serif;}
.TZ {background: #ffffff;border-top: 1px solid white;font-size: 12px;color: #000;padding: 9px 11px;line-height: 1px;font-family: Verdana, Geneva, sans-serif;}
.TZ span {color: #000;font-size: 11px;position: absolute;margin: -12px 100px;width: 310px;}
#widgetbox .author-credit a {font-size: 10px;font-size: 10px;letter-spacing: 1px;color: #1E598E;text-decoration: none;}
.TZDefault {border: 0px solid #dedede;text-shadow: #d08d00 1px 1px 0;background-color: #ff9b00;background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#ffca00),color-stop(1,#ff9b00));background: -webkit-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -moz-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -o-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: -ms-linear-gradient(center top,#ffca00 0,#ff9b00 100%);background: linear-gradient(center top,#ffca00 0,#ff9b00 100%);}
.TZDefault:hover {background-color: #ff9b00;background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#ffe480),color-stop(1,#ff9b00));background: -webkit-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -moz-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -o-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: -ms-linear-gradient(center top,#ffe480 0,#ff9b00 100%);background: linear-gradient(center top,#ffe480 0,#ff9b00 100%);}
</style>
<div id='socialwidget'>
<div class='TZ-social'>
<!-- social ico -->
<center>
<a href='http://facebook.com/cbblogger' rel='nofollow' style='margin-right: 15px;' target='_blank'>
<img alt='Facebook' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHif0PFbSFcS8m0oFgwhS2CAipk1YBC6npQU1SdKvCJiQKBPWTC859c_SVy78d-vfp2MFyEqjnBF5LFWTfZ-P20qPxJbajbcbylrMjNPdTmVavVWPhd_XfmSZcJs07rQkuqaWV12N5-hQ/s1600/facebook.png'/></a>
<a href='http://twitter.com/contohblog' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='Twitter' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuo-UN9RUJlJL48yYX93pl-IduCN-BPdr2WwYtYLaegxiR3tb-ZEHL-2IDIc3usRJYdd5dQxBJk9K5lnS5dskS7gugANk-xAUwCJBDFVLW4Px2hvbGazsJlg7g1BNXJk5JP9uphTSDVHg/s1600/twitter.png'/></a>
<a href='https://plus.google.com/106869251529186655236/posts' rel='me' style='margin-right: 12px;' target='_blank'>
<img alt='Google Plus' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj43gYosvbRoqnThrAJQcyKogXTg6PfCF_V6RzEnAnr2foftf1D5GbuXB0kEyb_bFn-vIg76516Fy6DBIVOwPmsPRR6LH0ghgqr78xN7a7h8mOh1YJnAuZNBbV__u9LbLYQQj3c7Xz6kA/s1600/gplus.png'/></a>
<a href='http://www.pinterest.com/cbblogger' style='margin-right: 12px;' target='_blank'>
<img alt='Pinterest' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8h1N2HecZRWNDoTA9way38lK3Lfti-HRf8uXZXlgXStJptDWMMzf-BUyofYC9Ylm8ElemFMULD46SOycnX4fg9Mfcq2hAYOMM4aDAEhf01JJ3I8lAHXagKxVLBoB5MQrBb13UnTZfz1U/s1600/pinterest.png'/></a>
<a href='http://feeds.feedburner.com/contohblognih' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='RSS Feed' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjeHHpQcRdX_43Upkm9Spbx1gjGzL3ffNPxoxAEjRGsxP6YcHWUcpiQVkp8n-kGjYcCrdPEfpCpCTtWUz2N1BYyQfI6KeaMc8KikbcCJeeSd0xIxzhYDqY7ZNuF5PJ-FgWuMfYJ_RkzTA/s1600/rss.png'/></a>
<a href='http://www.linkedin.com/in/cbblogger' rel='nofollow' style='margin-right: 12px;' target='_blank'>
<img alt='Linkedin' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMyJLzfn_8t4GBFqK1SeTMDYJ3n8wpFBLZAcQoT016Ykob9CIAVlPVahRens-0evpmo_pNu8LUimoKKOV6YIB2lqLUGlHVUyPnJ7mbobL4bp07ghmnBIe3KL4eZKIVpEQEo1b42mTAlL4/s1600/linkedin.png'/></a>
</center>
</div>
</div>
</div>
<!-- SOCIAL PROFILE END -->
3. Ganti ID yang berwarna merah dengan kepunyaan Anda.
4. Save!
Selamat, kini Kotak Pencarian plus Ikon Media Sosial sudah muncul di sidebar blog Anda!
Previous
« Prev Post
« Prev Post
Next
Next Post »
Next Post »
Msalahnya msh blm punya akun2nya mas,tp ptut dcoba..
ReplyDeletenise ser gan :D
ReplyDeletemari main gan, kalo ada temen, sodara ataupun tetangga yang pengen beli kubah masjid/ musholla bisa menghubungi kita disini
ada komisinya gan, semakin gede ukuranya semakin gede komisinya
Super Nice
ReplyDeletesudah aku coba dan berhasil! aku juga menambahkan beberapa akun medsos yang ngga ada di lampiran... makasih banget infonya :)
ReplyDeleteMin carra buat sosmed yg kayak blog ini gmna?itu tuh yg paling atas,saya sangat suka,soft gk belibet,mohon tanggapannya
ReplyDeletehttp://www.contohblog.com/2015/03/navigasi-menu-responsive-plus-drop-down.html
Delete