Thứ Sáu, 27 tháng 11, 2015

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.

Stylish+Social+Media+Widget+Search+Box

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/AVvXsEj_bCqf_MjyIM2aQ8UZafMokn0_2nDxsZpkJ5A803bAfzbZ0yuU68fNSKcsGI_Eh2lz61FhQeKnePdB6X3HplMwFatOW-BsCnieHqQokVJPKsThaikjZy4EzTfZRyRdEV3d-SXBRnoohgYR/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/AVvXsEh3umHrdEK0zwiJYM-GF_hlhAz5eA0avVTqHZAJygzk_KA3swWOAmTBTJGPBjPs1ZNrxHRAUyi5LjEGE9idIiRmqy_CEKqihdhESrvvkhqfE_Vt1AnUFhG7ASn2IQ84hV1D5ybmJkUxfvQ/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/AVvXsEgN3sEbObJyGt7WeE3FD_o3TUuGIrlz4HLl5INmuLaPSkCiyNMsz5pEfN7WkCZzk7fkzUYwLz1Jvu1RXChQqv_ZY25GqpYa-sjedST0kK5CrNlEZW-2_ec5Wtoy5RCIGCdaQLQayBE52go/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/AVvXsEg_IbjYg1txLuenQRfS4LMuIvJw9oSElb8k70xjkNf-aFQeV_VFWcn0cbDGVY_7LbOirqKNYu-mwSbqP_wgoAtVO5fsA9NJGkxI6y9GSV7H678c_hDPdknQJ27WtFLRn2_FWvNTVeo0kRU/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/AVvXsEi_8KL4Dl0zpL_z_LytI6bDsFEthzCfMfzFFAlUDATW9DeKvgCAD-7oNX4qhExqt3rEbvXSiIQzT7-DqTUPxheFhudv-MXi8Z90gFzdiB8gAFdafUM63VQUYb5bI-T3T1EXlVrNVzgp7qU/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.

Không có nhận xét nào:

**

Đăng nhận xét