Stylish Social Media Widget with Search Box
Social media is very important in these days.In this tutorial im gonna explain,how to add social media widget with search box for blogger.Social media always helps to bring quality and fast traffic to your blog.All bloggers must use social medias sites like Facebook, Twitter,Linkdin.By sing this social media widget, you can link with your social profiles.And other thing is, this widget include with search box too. So, you can save your blogger side bar space by using this 2 in 1 widget.In this post im gonna explain how to add social media widget with light search box for your blog. Im using css3 and HTML for this widget. you can take a look at in demo page.
1. Go to Blogger Dashboard > Layout
2. Click Add Gadget and select 'HTML/Javascript'
3. Paste below code.
<style>
#btrixwidget{width:307px;
padding:0 0 5px 0;
border:1px solid black;}
#btrix-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSL37wFf7qsrfAGQQzh1onxw0Au_ybyaGp1kdNjcL3a81JAWppBnB9RrdOe7SeQfzeeRohbAOCbhjVWM5wUgFZmXJTEu1-a-6EerA3ZvsxnkERVcj8MzmU7lbBLPM1GtgFIghxLoLLDEXA/s1600/blue.png) no-repeat scroll center center transparent;
width: 307px;height: 50px;disaply: block;}
form#btrix-searchform {
display: block;padding: 9px 16px; margin: 0;}
form#btrix-searchform #s {
padding-left: 24px !important;padding: 7.5px;margin: 0;width: 198px;
font-size: 16px;font-family: georgia;font-style: italic;color: #666666;vertical-align: top; border: none;background: transparent;}
form#btrix-searchform
#sbutton {margin: 0;padding: 0;height: 40px;width: 74px;vertical-align: top;
border: none;background: transparent;}
</style>
<div id="btrixwidget"><center>
<a href="http://twitter.com/bloggertrix" target="_blank" wrc_done="true"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0JXiYA06_W0QFbcRamiBBf7Ic54bQSay6H7N0cw_15bLn9fX9ErwMLG4CV93_3ZGH-tiMZtlJoL1VQtSlQFFRlfugAB2V-IOBrNujuX0115SUXYcxdD3rrmbYnT4pl3-cyb7SWCnMiaU/s1600/btrix-twitter.png" alt="" title="twitter" width="62" height="78" class="alignnone size-full wp-image-6249"></a>
<a href="http://www.facebook.com/bloggertrix" target="_blank" wrc_done="true"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjit1UpD0kZ5lAZAIwstdxFVP4xl5vPW8y3E9nB8LISSdx6zpryeReAAtgZowMbE1aBYJ_LSYiZUyx21hVuFaXTvHABZhr-2-WlahK91w_4Rsl2fFjq-1GfyIFJA0DJDIw14McOtjulNL4/s1600/btrix-facebook.png" alt="" title="facebook" width="62" height="78" class="alignnone size-full wp-image-6248"></a>
<a href="http://feeds.feedburner.com/bloggertrix" target="_blank" wrc_done="true"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhafTHdKsRPoLTt-6HVyYNRM_Ns7J6QWWULRB1sGx2Qp5i9cB5ZvZccFbwO5Jd1_QgHD7YsP5T1AYEYkqtbJQrNLpg4wBz7wc4Lbvjdu1yv3vvIDUPxDEbU50qC29XXurSd5QUs9BmZvdw/s1600/btrix-rss.png" alt="" title="rss" width="62" height="78" class="alignnone size-full wp-image-6251"></a>
<a href="http://au.linkedin.com/username" target="_blank" wrc_done="true"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVTlJuQ28Dpc3uiyD4McE5pOMrqBfNIkNc_SSNrLkFXN2k3ROlm-aElxjrDTX0Ot2cMZrb48iQuXgaVQl_j2AM1PcWh6HU8WhZ3V1PxojkceY6s6-1raSZvs-1tApgE45W1vvBghlCYos/s1600/btrix-linkedin.png" alt="" title="linkedin" width="62" height="78" class="alignnone size-full wp-image-6250"></a>
<div id="btrix-searchbox">
<form id="btrix-searchform" action="/search" 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...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
</center>
</div>
Replace bloggertrix with your twitter profile
Replace bloggertrix with your facebook profile
Replace bloggertrix with your feedburner profile
Replace username with your linkedin profile
4. Now save your HTML/Javascript'.
You are done. If you have any problem related to this Stylish Social Media Widget. Just leave a comment.I will help to you.
0 Response to "Stylish Social Media Widget with Search Box"
Posting Komentar