In this article, I am going to explain how to add more attractive Subscribe Section + Search Box to your blogger blog. This subscribe section is included Feedburner feed and Email subscriptions boxes, Twitter and Facebook boxes for your Twitter and Facebook profiles and Social networking buttons (Digg, Twitter, Facebook, Stumbleupon, Delicious) to share your articles among social networks.These social network buttons are powered by www.addthis.com. Above the subscribe section, Search box is included. You don't want to change anything in the search box code. To add this widget to your blogger sidebar without doing any modification,sidebar width must be at least 305 px. You can add this Subscribe Section + Search Box into your blog within few seconds and very easy to configure. If you like to add this widget to your blog or a website, then follow the steps given below.
1. Login to your blogger dashboard --> Design --> Edit HTML
2. Scroll down to where you see </head> tag .
3. Copy below code and paste it just before the tag .
<style type="text/css">
.subbox{width:305px;border:0 solid #141414;overflow:hidden}
.addthis_toolbox{padding:15px 0 5px 0;text-align:center}
.addthis_toolbox .custom_images a{width:32px;height:32px;margin:0 4px 0 4px;padding:0}
.addthis_toolbox .custom_images a:hover img{opacity:1}
.addthis_toolbox .custom_images a img{opacity:0.85}
.rssbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.rssbox:hover{border:1px solid #92aed1}
.rssbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.rssbox a:hover{color:#7c8a9b;text-decoration:underline}
.emailsbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.emailsbox:hover{border:1px solid #92aed1}
.emailsbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.emailsbox a:hover{color:#7c8a9b;text-decoration:underline}
.twitterbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.twitterbox:hover{border:1px solid #92aed1}
.twitterbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.twitterbox a:hover{color:#7c8a9b;text-decoration:underline}
.facebookbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.facebookbox:hover{border:1px solid #92aed1}
.facebookbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.facebookbox a:hover{color:#7c8a9b;text-decoration:underline}
#search{width:290px;padding:2px 2px;background:#f7f6f6;border:1px solid #ccd1d7;height:28px;margin-top:0;margin-left:5px;display:inline;float:left}
#search:hover{border:1px solid #92aed1}
#search form{margin:0;padding:0}
#search fieldset{margin:0;padding:0;border:none}
#search p{margin:0;font-size:85%}
#s{width:200px;margin:0 0 0 0;padding:5px 5px 5px 5px;border:none;font:normal 80% "Tahoma",Arial,Helvetica,sans-serif;color:#000;float:left;background:#f7f6f6;display:inline}
input#searchsubmit{float:right;display:inline;margin:0 0 0 0;height:28px;background:#b2b2b2;color:#000;border:0 solid #222}
</style>
.subbox{width:305px;border:0 solid #141414;overflow:hidden}
.addthis_toolbox{padding:15px 0 5px 0;text-align:center}
.addthis_toolbox .custom_images a{width:32px;height:32px;margin:0 4px 0 4px;padding:0}
.addthis_toolbox .custom_images a:hover img{opacity:1}
.addthis_toolbox .custom_images a img{opacity:0.85}
.rssbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.rssbox:hover{border:1px solid #92aed1}
.rssbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.rssbox a:hover{color:#7c8a9b;text-decoration:underline}
.emailsbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.emailsbox:hover{border:1px solid #92aed1}
.emailsbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.emailsbox a:hover{color:#7c8a9b;text-decoration:underline}
.twitterbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.twitterbox:hover{border:1px solid #92aed1}
.twitterbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.twitterbox a:hover{color:#7c8a9b;text-decoration:underline}
.facebookbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.facebookbox:hover{border:1px solid #92aed1}
.facebookbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.facebookbox a:hover{color:#7c8a9b;text-decoration:underline}
#search{width:290px;padding:2px 2px;background:#f7f6f6;border:1px solid #ccd1d7;height:28px;margin-top:0;margin-left:5px;display:inline;float:left}
#search:hover{border:1px solid #92aed1}
#search form{margin:0;padding:0}
#search fieldset{margin:0;padding:0;border:none}
#search p{margin:0;font-size:85%}
#s{width:200px;margin:0 0 0 0;padding:5px 5px 5px 5px;border:none;font:normal 80% "Tahoma",Arial,Helvetica,sans-serif;color:#000;float:left;background:#f7f6f6;display:inline}
input#searchsubmit{float:right;display:inline;margin:0 0 0 0;height:28px;background:#b2b2b2;color:#000;border:0 solid #222}
</style>
Save your template.
4. Now go to Design --> Page Elements and click on "Add a gadget".
5. Select "html/java script" and add the code given below and click save.
<div class="subbox">
<div id='search' style='display:inline;'>
<form action='/search' id='searchform' method='get'>
<input id="s" name="q" onblur="if (this.value == "") {this.value = "Search...";}" onfocus="if (this.value == "Search...") {this.value = "";}" type="text" value="Search..." />
<input id="searchsubmit" type="submit" value="Search" />
</form>
</div>
<table><tr>
<td><div class="rssbox">
<a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCXB9fguRLuG7ISgz2KHcIykxEt_DNkEpfxI85zoEqaGzamVMA6Xf0NHpkKYfqLx0z-gqaLz62GemBqlVCfNI28QefdZN3bh-Ota8hqs9JXNSOuzzxJPr1ztb7qwKDvrLkidLElu4SZJnE/" alt="RSS Feed" title="RSS Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow">RSS Feed</a>
</div></td>
<td><div class="emailsbox">
<a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJeDjj37QmhTO02-s5oQvQdr_9ELMDK0rK8B1q47foBTiZ5CjDRIklh0F_tQ_1SupFUF3o_Ak0KbC9xzKTszkuElGKaPW-5irzJy5rR1R3Q8rEVAr4nTelb1aQDoZGJbk_5o0lZeiqZQjc/" alt="EMail Feed" title="EMail Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow">EMail Feed</a>
</div></td>
</tr><tr>
<td><div class="twitterbox">
<a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcREL4Kcv96nSNyTRs9aSqzJTQ18blNpQ5ZD5KtLbnwsFF63rrhDFswTEcby7wf7Wv8fT5Rg1GRrJCPUUcameKDrwpTKYocmuskmuEeixP-_OR_lokXG4zBee00yZxoHyisazuKZd4DZOc/" alt="Twitter" title="Twitter" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow">Twitter</a>
</div></td>
<td><div class="facebookbox">
<a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIBP8X07iPGN5_caOkNKFoRwbLvWfvMGArurWb3aLL5hsIy6DMGpq8ceScqfIlVzA1D_HeMzgepOqk8DgnrfuiRbkL9ywmk2BB7ctv0g838g_2lTTAmkytI2qeHMF__VDLudj-ofqead1G/" alt="Facebook" title="Facebook" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow">Facebook</a>
</div></td>
</tr></table>
<p style="display:none;" align="center">Widget by <a href="http://www.bloggertipandtrick.net/" target="_blank">Blogger Tips And Tricks</a></p>
<div class='addthis_toolbox'>
<div class='custom_images'>
<a class='addthis_button_twitter'><img alt='Twitter' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4DHwVIk_XofIsEYAE-gX4g_ZJCitlhpHm0ZZg4W1mtNZpzzehByde5zLyy6ihFQeTQiEnb0aKrl-SyLyGztauuvL4TFFJUk2lvfuh2fgfs39Q6Y5cAJWhVfLGtvarxRMIJejRD_ffI0/' width='32'/></a>
<a class='addthis_button_delicious'><img alt='Delicious' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8l4cBVB6LQ5mvUWtP2WX9yKNNbG7rJkYyVg75O8yXIoNHhTDFJXBSDK5JNWqTCR1lbWt_qhbIii04yNfcEGZIMCZKlj5m9p0qS-yszzWJl72EeCKlZFO4jnsGszNNv6LfGEyN4V82uoc/' width='32'/></a>
<a class='addthis_button_facebook'><img alt='Facebook' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bpD6XL2VAXNRBqss0XJzlW0pKDJwBs3KfkIURJd1PhxqmbVmSIbazmu-M9MpMsbzsG2uf2-gCRaETtHqjh7X5GKCw6edObyRs__eP5DnWVZKAQjf5MX1xCZbbFG1ekBTYCZAGt-PUeg/' width='32'/></a>
<a class='addthis_button_digg'><img alt='Digg' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh430EnNzqEzu90J48FFdgJiOH65Y5qEfB_qgXs0t4JoLYaN3-z6gWEKgR5IXWE9BN4nbOevJCKtj2cf7JcxKX1xZeJiqXEwcw8fmzh9jeJkkTiP1IZqT6BHZT91ElSehi9OHX15VQH4g8/' width='32'/></a>
<a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiByOcwCK2tl0WnYEATj9QSAfo4OY5L-Dr6D6D1pNMBlM22sXfnfVuvrnvZd1EOFw6eMjAf5rK4f7aUgQo-6CUiFgpVR_HHHH5QmI6-0WzPNz06f84Ht9yITRN_OokrBpIYTI2f-IS3osM/' width='32'/></a>
<a class='addthis_button_favorites'><img alt='Favorites' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb5XJfSMkO8bya_URVohbNMr9_-0cVmU7T9m61pIfhTtjXkcsn1IHhrMYksHKjV3hBWx-I-bEA1rY6gy_7SatCda88MD2Xda1PbC5QK4dCDiZA33Bt8uEo14GdmaEUj4H0D_Y9oYo5kik/' width='32'/></a>
<a class='addthis_button_more'><img alt='More' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6EwwhgAGHEM5gkHsVpRtBGJaV-NA0DRFlN05Ds7o8xjltqnrV-LKciqro9T0OA7UF4zMdXLPy86EgMMQ-Hda22dptxixQO7YBnVwNB8TyQpWRSeZdnILW76B8qS7M_58SFo8Usq5FfVg/' width='32'/></a>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
</div>
</div>
<div id='search' style='display:inline;'>
<form action='/search' id='searchform' method='get'>
<input id="s" name="q" onblur="if (this.value == "") {this.value = "Search...";}" onfocus="if (this.value == "Search...") {this.value = "";}" type="text" value="Search..." />
<input id="searchsubmit" type="submit" value="Search" />
</form>
</div>
<table><tr>
<td><div class="rssbox">
<a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCXB9fguRLuG7ISgz2KHcIykxEt_DNkEpfxI85zoEqaGzamVMA6Xf0NHpkKYfqLx0z-gqaLz62GemBqlVCfNI28QefdZN3bh-Ota8hqs9JXNSOuzzxJPr1ztb7qwKDvrLkidLElu4SZJnE/" alt="RSS Feed" title="RSS Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow">RSS Feed</a>
</div></td>
<td><div class="emailsbox">
<a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJeDjj37QmhTO02-s5oQvQdr_9ELMDK0rK8B1q47foBTiZ5CjDRIklh0F_tQ_1SupFUF3o_Ak0KbC9xzKTszkuElGKaPW-5irzJy5rR1R3Q8rEVAr4nTelb1aQDoZGJbk_5o0lZeiqZQjc/" alt="EMail Feed" title="EMail Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow">EMail Feed</a>
</div></td>
</tr><tr>
<td><div class="twitterbox">
<a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcREL4Kcv96nSNyTRs9aSqzJTQ18blNpQ5ZD5KtLbnwsFF63rrhDFswTEcby7wf7Wv8fT5Rg1GRrJCPUUcameKDrwpTKYocmuskmuEeixP-_OR_lokXG4zBee00yZxoHyisazuKZd4DZOc/" alt="Twitter" title="Twitter" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow">Twitter</a>
</div></td>
<td><div class="facebookbox">
<a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIBP8X07iPGN5_caOkNKFoRwbLvWfvMGArurWb3aLL5hsIy6DMGpq8ceScqfIlVzA1D_HeMzgepOqk8DgnrfuiRbkL9ywmk2BB7ctv0g838g_2lTTAmkytI2qeHMF__VDLudj-ofqead1G/" alt="Facebook" title="Facebook" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow">Facebook</a>
</div></td>
</tr></table>
<p style="display:none;" align="center">Widget by <a href="http://www.bloggertipandtrick.net/" target="_blank">Blogger Tips And Tricks</a></p>
<div class='addthis_toolbox'>
<div class='custom_images'>
<a class='addthis_button_twitter'><img alt='Twitter' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4DHwVIk_XofIsEYAE-gX4g_ZJCitlhpHm0ZZg4W1mtNZpzzehByde5zLyy6ihFQeTQiEnb0aKrl-SyLyGztauuvL4TFFJUk2lvfuh2fgfs39Q6Y5cAJWhVfLGtvarxRMIJejRD_ffI0/' width='32'/></a>
<a class='addthis_button_delicious'><img alt='Delicious' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8l4cBVB6LQ5mvUWtP2WX9yKNNbG7rJkYyVg75O8yXIoNHhTDFJXBSDK5JNWqTCR1lbWt_qhbIii04yNfcEGZIMCZKlj5m9p0qS-yszzWJl72EeCKlZFO4jnsGszNNv6LfGEyN4V82uoc/' width='32'/></a>
<a class='addthis_button_facebook'><img alt='Facebook' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-bpD6XL2VAXNRBqss0XJzlW0pKDJwBs3KfkIURJd1PhxqmbVmSIbazmu-M9MpMsbzsG2uf2-gCRaETtHqjh7X5GKCw6edObyRs__eP5DnWVZKAQjf5MX1xCZbbFG1ekBTYCZAGt-PUeg/' width='32'/></a>
<a class='addthis_button_digg'><img alt='Digg' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh430EnNzqEzu90J48FFdgJiOH65Y5qEfB_qgXs0t4JoLYaN3-z6gWEKgR5IXWE9BN4nbOevJCKtj2cf7JcxKX1xZeJiqXEwcw8fmzh9jeJkkTiP1IZqT6BHZT91ElSehi9OHX15VQH4g8/' width='32'/></a>
<a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiByOcwCK2tl0WnYEATj9QSAfo4OY5L-Dr6D6D1pNMBlM22sXfnfVuvrnvZd1EOFw6eMjAf5rK4f7aUgQo-6CUiFgpVR_HHHH5QmI6-0WzPNz06f84Ht9yITRN_OokrBpIYTI2f-IS3osM/' width='32'/></a>
<a class='addthis_button_favorites'><img alt='Favorites' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb5XJfSMkO8bya_URVohbNMr9_-0cVmU7T9m61pIfhTtjXkcsn1IHhrMYksHKjV3hBWx-I-bEA1rY6gy_7SatCda88MD2Xda1PbC5QK4dCDiZA33Bt8uEo14GdmaEUj4H0D_Y9oYo5kik/' width='32'/></a>
<a class='addthis_button_more'><img alt='More' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6EwwhgAGHEM5gkHsVpRtBGJaV-NA0DRFlN05Ds7o8xjltqnrV-LKciqro9T0OA7UF4zMdXLPy86EgMMQ-Hda22dptxixQO7YBnVwNB8TyQpWRSeZdnILW76B8qS7M_58SFo8Usq5FfVg/' width='32'/></a>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
</div>
</div>
NOTE : Remember to Replace,
FEEDBURNER-ID with your real Feedburner ID.(4 times).
TWITTER-USERNAME with your real Twitter username.
FACEBOOK-USERNAME with your real Facebook username.
You are done.
source: http://www.bloggertipandtrick.net
Tidak ada komentar:
Posting Komentar