I came up with this tutorial to help nairotech readers add various stylish social icons above their blogger headers just like ours, pictured below. This stylish widget will enable you add social media icons to your blog's header, icons like: Google+, Facebook. Twitter, Pinterest Icons to further beautiful the outlook of your blog and also help you gain more social media subscribers to your blog. Why i find this widget interesting is because it rotates immediately a mouse is been hovered on it. Guys, you need to check it out yourself enough of the long talking.
SEE THE SCREENSHOT:
SEE THE SCREENSHOT:
Adding Social Media Icons to Blogger Header
Step One. Goto your Blogger dashboard, Select Template & just click on the Edit HTML button:N/B: Backup Your Template
Step Two: Using CTRL + F, find ]]></b:skin> tag (screenshot two) & add the below code just above ]]></b:skin> tag:
/* Social icons for Blogger
----------------------------------------------- */
#social-icons {
margin-bottom:-30px;
height:50px;
width:100%;
display:block;
clear:both;
z-index: 2;
position: relative;
}
.social-media-icons {
display:table
}
.social-media-icons ul {
text-align:right;
padding:5px 5px 0 0
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}
.social-media-icons ul {
margin-bottom:0;
padding:0;
float:right;
}
.social-media-icons li.media_icon {
margin-left:6px;
padding-left:0 !important;
background:none !important;
display:inline;
float:left;
}
.social-media-icons li:hover {
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(-360deg);
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
----------------------------------------------- */
#social-icons {
margin-bottom:-30px;
height:50px;
width:100%;
display:block;
clear:both;
z-index: 2;
position: relative;
}
.social-media-icons {
display:table
}
.social-media-icons ul {
text-align:right;
padding:5px 5px 0 0
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}
.social-media-icons ul {
margin-bottom:0;
padding:0;
float:right;
}
.social-media-icons li.media_icon {
margin-left:6px;
padding-left:0 !important;
background:none !important;
display:inline;
float:left;
}
.social-media-icons li:hover {
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(-360deg);
-moz-transition: all 0.5s ease-in-out;
-webkit-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
-ms-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
Screenshot Two:
Step Three: Now, search for the below line.
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
Step 4. And add this code just above it:
<div class='social-media-icons' id='social-icons'>
<ul>
<li class='media_icon'><a href='http://facebook.com/username'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7N18dNvFP8bOmDKG_y5wnZgXEDi44vc9aORwC1NpreLNX9HCH0G7dUwQ9D798Km0-BtPfIFpaiBqnPQ_Xj5JhwazjQyp536IJX7lojST4yOqbP_s4Asfvkt14BTNQ4gQJGNK7fiQIlzI/s1600/Facebook.png'/></a></li>
<li class='media_icon'><a href='http://twitter.com/#!/username'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpOILEzj9PLUC-YdIEPYnoTyNPN9ZmszxGPNnGHX-vSPQO5Jw9U4cYbcv0t7-Xu9jc51rGOgu8O3uHAJTbL6a31gPnw_59LWUTFDx5cXjiTyc7ZxDV3VstQRSGSlSh606AFRsG9-DzkV0/s1600/Twitter.png'/></a></li>
<li class='media_icon'><a href='https://plus.google.com/XXXXXXXXXXXXXXXXXX/about'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBLyPTruERVxLN3KfPhrttvNay-A8OHBugPNXf8GxmEo78EwFZnAstyqFOiw4Ni6VvaD-T5q7iwGNXegQ3aM4uXpcLD8rp9FrXVpSJMI0w51AbfY8j946ea1uEpjBxalMHq5j3Np1MDLs/s1600/googleplus.png'/></a></li>
<li class='media_icon'><a href='http://yourblogname.com/feeds/posts/default'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlZL0nTN4h5PHdiqQ14TKioJ9o8rlioPObuzWrKWAeYqUYh5dtiErF72bdQ5nI1xDQoU_0NYl3dHDzCvM635iKLxgIISgzlKV58UoDbCq1iYhEPYbJ9Vex93E66yL9OnRsw82qjBP3wO4/s1600/RSS.png'/></a></li>
</ul></div>
<ul>
<li class='media_icon'><a href='http://facebook.com/username'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7N18dNvFP8bOmDKG_y5wnZgXEDi44vc9aORwC1NpreLNX9HCH0G7dUwQ9D798Km0-BtPfIFpaiBqnPQ_Xj5JhwazjQyp536IJX7lojST4yOqbP_s4Asfvkt14BTNQ4gQJGNK7fiQIlzI/s1600/Facebook.png'/></a></li>
<li class='media_icon'><a href='http://twitter.com/#!/username'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpOILEzj9PLUC-YdIEPYnoTyNPN9ZmszxGPNnGHX-vSPQO5Jw9U4cYbcv0t7-Xu9jc51rGOgu8O3uHAJTbL6a31gPnw_59LWUTFDx5cXjiTyc7ZxDV3VstQRSGSlSh606AFRsG9-DzkV0/s1600/Twitter.png'/></a></li>
<li class='media_icon'><a href='https://plus.google.com/XXXXXXXXXXXXXXXXXX/about'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBLyPTruERVxLN3KfPhrttvNay-A8OHBugPNXf8GxmEo78EwFZnAstyqFOiw4Ni6VvaD-T5q7iwGNXegQ3aM4uXpcLD8rp9FrXVpSJMI0w51AbfY8j946ea1uEpjBxalMHq5j3Np1MDLs/s1600/googleplus.png'/></a></li>
<li class='media_icon'><a href='http://yourblogname.com/feeds/posts/default'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlZL0nTN4h5PHdiqQ14TKioJ9o8rlioPObuzWrKWAeYqUYh5dtiErF72bdQ5nI1xDQoU_0NYl3dHDzCvM635iKLxgIISgzlKV58UoDbCq1iYhEPYbJ9Vex93E66yL9OnRsw82qjBP3wO4/s1600/RSS.png'/></a></li>
</ul></div>
Customization
- Change the red color with your usernames and id: the first is your Facebook username, the 2nd your Twitter, the 3rd you should change the XXXXX by your Google+ profile ID & while the fourth is the name of your blog.
- To change the icons, just replace the urls in blue with the ones of your images.
- You can add more icons if you want, you just have to add before </ul></div> a line like this for each extra icon you want:
<li class='media_icon'><a href='Link URL'><img border='0' src='Image URL'/></a></li>
Step 5. You can now Save your Template to apply changes watch your blog shine bright.
NOTE: This stylish effect will not function on Older browsers because is done with CSS3
I have done my part by taking out time to post this lovely tutorial, so is now your turn to ask questions, make contributions and share this update to your friends using the below share icons. I'm so eager to hear from you and i promise to reply just immediately you contribute or drop your comment.