ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Adding social bookmarking toolbar: How to add a social bookmarking toolbar to blogspot blog?

Updated on June 25, 2011

To increase your blog traffic, it's essential to use social bookmarking toolbar. It's very easy. In this hubpage, you will learn the ways to add a social bookmarking toolbar to your blogspot blog. All you have to add some CSS and some HTML code to your blogger template.

Steps to add a social bookmarking toolbar to blogspot blog

To add a social bookmarking toolbar to blogspot blog just follow the following steps:

Step 1: Accessing blogger's HTML code

  • Login to your blogger blog and go to Dashboard.
  • Access to Layout of the blog that you want to add the social bookmarking toolbar.
  • At last, click to Edit HTML to access the blog code.
  • Check Expand Widget Templates to see your whole blog template code.

Step 2: Adding/modifying CSS code of your blogger blog

  • Find ]]></b:skin> code from the code of your blog.
  • Copy the following code and paste it just before "]]></b:skin>".

CSS code of social bookmarking toolbar

div.my-bookmarks					{height:54px;	background:url('') no-repeat left top;	position:relative;	width:540px;}
div.my-bookmarks span.my-rightside	{width:17px;	height:54px;	background:url('') no-repeat right top; position:absolute;	right:-17px;}
div.my-bookmarks ul.socials			{margin:0 ;	padding:0 ;  position:absolute; bottom:0;	left:10px;}
div.my-bookmarks ul.socials li		{display:inline-block ; float:left ;	list-style-type:none ;	margin:0 ;	height:29px ;	width:48px ;	cursor:pointer ;	padding:0 ;}
div.my-bookmarks ul.socials a 		{display:block ; 	width:48px ; height:29px ;	font-size:0 ;	color:transparent ;}

.my-furl, .my-furl:hover, .my-digg, .my-digg:hover, .my-reddit, .my-reddit:hover, .my-stumble, .my-stumble:hover, .my-delicious, .my-delicious:hover, .my-yahoo, .my-yahoo:hover, .my-blinklist, .my-blinklist:hover, .my-technorati, .my-technorati:hover, .my-facebook, .my-facebook:hover, .my-twitter, .my-twitter:hover, .my-myspace, .my-myspace:hover, .my-mixx, .my-mixx:hover, .my-script-style, .my-script-style:hover, .my-designfloat, .my-designfloat:hover, .my-syndicate, .my-syndicate:hover, .my-email, .my-email:hover {
background:url('http://i31.tinypic.com/29ghhci.jpg') no-repeat ;
}

.my-furl 		{background-position:-300px top ;}
.my-furl:hover 	{background-position:-300px bottom ;}
.my-digg 		{background-position:-500px top ;}
.my-digg:hover 	{background-position:-500px bottom ;}
.my-reddit 		{background-position:-100px top ;}
.my-reddit:hover{background-position:-100px bottom ;}
.my-stumble 	{background-position:-50px top ;}
.my-stumble:hover{background-position:-50px bottom ;}
.my-delicious 	{background-position:left top ;}
.my-delicious:hover {background-position:left bottom ;}
.my-yahoo 		{background-position:-650px top ;}
.my-yahoo:hover {background-position:-650px bottom ;}
.my-blinklist 	{background-position:-600px top ;}
.my-blinklist:hover {background-position:-600px bottom ;}
.my-technorati 	{background-position:-700px top ;}
.my-technorati:hover {background-position:-700px bottom ;}
.my-myspace 	{background-position:-200px top ;}
.my-myspace:hover{background-position:-200px bottom ;}
.my-twitter 	{background-position:-350px top ;}
.my-twitter:hover{background-position:-350px bottom ;}
.my-facebook 	{background-position:-450px top ;}
.my-facebook:hover{background-position:-450px bottom ;}
.my-mixx 		{background-position:-250px top ;}
.my-mixx:hover 	{background-position:-250px bottom ;}
.my-script-style{background-position:-400px top ;}
.my-script-style:hover {background-position:-400px bottom ;}
.my-designfloat {background-position:-550px top ;}
.my-designfloat:hover {background-position:-550px bottom ;}
.my-syndicate 	{background-position:-150px top ;}
.my-syndicate:hover {background-position:-150px bottom ;}
.my-email 		{background-position:-753px top ;}
.my-email:hover {background-position:-753px bottom ;}

Step 3: Adding/modifying HTML code of your blogger blog

Click edit above to add content to this empty capsule.

  • Find <data:post.body/>code from the code of your blog.
  • Copy the following code and paste it just after "<data:post.body/>".

<b:if cond='data:blog.pageType == "item"'>

<br/>
<div class='my-bookmarks'>

<ul class='socials'>
	<li class='my-delicious'>	<a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='del.icio.us'/>																	</li>
	<li class='my-digg'>		<a expr:href='" http://digg.com/submit?url=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Digg'/>																			</li>
	<li class='my-technorati'>	<a expr:href='" http://technorati.com/faves?add=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Technorati'/>																</li>
	<li class='my-reddit'>		<a expr:href='" http://www.reddit.com/submit?url=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Reddit'/>																	</li>
	<li class='my-stumble'>		<a expr:href='" http://www.stumbleupon.com/submit?url=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Stumbleupon'/>															</li>
	<li class='my-designfloat'>	<a expr:href='"http://www.designfloat.com/submit.php?url=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Designfloat'/>														</li>
	<li class='my-facebook'>	<a expr:href='" http://www.facebook.com/sharer.php?u=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Facebook'/>																</li>
	<li class='my-twitter'>		<a href="javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://bigtweet.com/ext/bigt/bigt.js');document.body.appendChild(e)})())" /></li>
	<li class='my-furl'>		<a expr:href='" http://www.furl.net/storeIt.jsp?u=" + data:post.url + "&amp;title=" + data:post.title' rel='nofollow' target='_blank' title='Furl'/>																	</li>
	<li class='my-syndicate'>	<a href='http://feeds2.feedburner.com/webupd8' rel='nofollow' title='Subscribe to RSS'/></li>
	<li class='my-email'>		<a expr:href='" mailto:?subject=" + data:post.url + "&amp;title=" + data:post.title' target='_blank' title='Email this'/></li>
</ul>

<span class='my-rightside'/></div>

</b:if>

Step 4: Save all your work

This is the last step. You don't need to change or add any code. You just need to save your template code. Click on the button Save Template and that's all. Your blog template code is now saved.

In this way, you can add a social bookmarking toolbar to your blogger blog.

Live Demo: Live Demo of social bookmarking tutorial

One blog is implemented by using this tutorial code. This is the live demo. To see the live demo you may visit Adding Social Bookmarking blog.

© Written by rancidTaste

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      James 

      8 years ago

      thanks for sharing man I m looking for it...

    • profile image

      birdy 

      8 years ago

      It's what I was looking for. Thanks for sharing.

    • kephrira profile image

      kephrira 

      8 years ago from Birmingham

      Very useful info. You can also add a social bookmarks toolbar to your browser for easily sharing links - http://www.socialbookmarks.media-toolbar.com/

    • profile image

      Get Free Visitors 

      8 years ago

      fine

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)