How To Add Together Social Media Icons To Blogger Header

adding a novel widget department to the weblog header but now, we'll produce it using an unordered listing that uses icons of Facebook, Twitter, Google+ together with weblog feed, together with every bit a bonus, the icons volition rotate when you lot hover over them.

You tin laissez passer on notice run across a demo inwards this test blog.


Adding Social Media Icons to Blogger Header

Step 1. From your Blogger dashboard, become to Template together with click on the Edit HTML button:

This tutorial volition assistance you lot to add together social media icons inwards the transcend correct corner of the page  How To Add Social Media Icons to Blogger Header

Step 2. To expand the style, click on the small-scale arrow on the left of <b:skin>...</b:skin> (screenshot 1), therefore click anywhere within the code expanse to search (using CTRL + F) for the ]]></b:skin> tag (screenshot 2) together with add together this code merely inwards a higher house it:

 /* Social icons for Blogger
----------------------------------------------- */

#social-icons {
margin-bottom:-30px;
height:50px;
width:100%;
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 1:


Screenshot 2:


Step 3. Now search for this line

<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>

Step 4. And merely inwards a higher house it, add together this code:

<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/AVvXsEhJO_cOmYMGKXvhNvUX7SGm595B3UcMpgv4_ABW1RYLjRV1rT3SnZRDAAOnPa9fsUHUrAlchh1lNdrZD9ljhyphenhyphenX4Yc31PNLeCprxkQAHVVD3FDj5ALNm3ulH0S9bqI0YaiRvsBb44grBnjw/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/AVvXsEgm83CRBLXa0WQjupSl_8EgMlX86pnXTvCr4owHzRHbmG4R7qC0W4SlMsOxqfvXFDcth1fpQf_tmKkfM3NSuUzQXgal46g_2zukROBWoez-kyHSBOS_sLtYDt4ddHLTlkX3GeUJ_1jrgdA/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/AVvXsEidU89kYU417pYiE5udlay_NhmiD8oZeGU95ebRGcrqzbdMKGZHX_GWqIS6UIo56FxjTInRJ5Cri3iTR3Xc73cdN-vwedPGLsrq_5d3DL-XqmEn47VjOzF0q9fwJj4aA9c6mv7PxhSawi0/s1600/googleplus.png'/></a></li>

<li class='media_icon'><a href='http://name-of-your-blog.com/feeds/posts/default'><img border='0' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU32a3RjQBGcdr_vHuEDTY77kkvtASB0U5EWVfuRrCHxkTJB_brji9ZTdMVReQFD72rETC4ezDxM2o3jmfvSSSAEGcjP6glNK8PRc7g6zmgqLV1XvD1yI5657tfcb90rlyfrZ87GGd-5o/s1600/RSS.png'/></a></li>

</ul></div>

Customization

- Change what's inwards reddish alongside your usernames together with id: the kickoff is your Facebook username, the minute is that of Twitter, inwards the 3rd you lot should alter the X past times the ID of your Google+ profile together with inwards the 4th you lot volition position the elevate of your blog.
- To alter the icons, merely supersede the urls inwards bluish alongside the ones of your images.
- You tin laissez passer on notice add together to a greater extent than icons if you lot want, you lot merely convey to add together earlier </ul></div> a work similar this for each extra icon you lot want:

<li class='media_icon'><a href='Link URL'><img border='0' src='Image URL'/></a></li>

Step 5. Finally, Save the Template to apply the changes.
The outcome is done alongside CSS3, therefore this outcome volition non operate inwards older browsers.

Comments