Today’s featured Blogger widget design comes from Rehmat Alam, and he shares it with us in the form of a social sharing widget. His widget’s design is based on the user interface of Microsoft’s latest OS (Windows known as Metro style.
Now you can also now bring a bit of that Windows 8 touch and feel into your Blogger blog as well using Alam’s Metro-style inspired social sharing widget design.
NOTE: This tutorial assumes that your sidebar’s width is at least 300px. If it’s any smaller than that then you might have to do some minor adjustments by editing your template’s CSS code.
To install is quite easy. Just follow the steps below:
- Log in to your Blogger dashboard and go to the Design section.
- Head over to ‘Template’ and click on Edit HTML.
- Place a check inside the Expand Widget Templates box.
- By pressing Ctrl+F, look for ]]></b:skin> inside your blog’s template code.
- Copy/paste the following code below just above ]]></b:skin> and then save your template.
.widget-item-control a {
display:none;
}
.widget-item-control a {
display:none;
}
#supportive {
width:300px;
float:left;
margin-top:10px;
}
#supportive li {
position:relative;
cursor:pointer;
padding:0!important;
}
#supportive .facebook,.googleplus,.rss,.twitter {
position:relative;
-moz-transition:all .4s ease-in-out;
-webkit-transition:all .4s ease-in-out;
-o-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
z-index:5;
display:block;
float:left;
margin:1px;
}
#supportive .icon {
overflow:hidden;
}
#supportive .facebook {
width:147px;
height:150px;
background:rgba(59,89,152,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4g8Qy8gvNr7akre2ZRj1hmtQp_WsndcfHbPMeTVINXfYORNLuGHDcESSHHxXzUOdxftSfhjoNvpt6kzhQieJKHkPJdz3xe1qF6Dt0Zpg3Un8z_BVPppCH8Q9z6cmvg0rmSq2C0bZue1g/h120/facebook.png) no-repeat center center;
}
#supportive .twitter {
width:148px;
height:74px;
background:rgba(59,89,152,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgup_oD6IlZFe4izdKEbrb_3UDMv-DviGHmkQLkByverRQdbm9gk6df1d54iWo745ic7IK3SJvY94X5apOxaxoPRG2GJ2lFhA-5VxujnshhGElV3yvf_d6UogTRwKtFSWtW78uw2J4VeXKi/s1600/Twitter.png) no-repeat center center;
}
#supportive .googleplus {
width:148px;
height:74px;
background:rgba(59,89,152,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBXTMMByYMmiroxnr5wsJjzP6pDD2kSHjjxG6SDZMya3epixhY-UZJqKRE9J9vglHPju5LbLOSDzLVg9jwpG8-7O3ka4dthUPPsMLe8gOBFTB4hTGMy_gZ6ImjOHY4-g1-eHOabtCApdkN/s1600/google+plus.png) no-repeat center center;
}
#supportive .rss {
width:299px;
height:74px;
background:rgba(59,89,152,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhunH4OCh4ODT3mGSZH08vcZ2vrNbVRcdYxwEWgecHe79L5DMG19R6OxDAg3H06OpY2lNm4VGQH62cn8nSCm5Iice-3WI7m9uGmzzdGWeE1O0WAk0ihgBBtUHkbxQzMVWpEkcc2pcGw5V/s1600/rss.png) no-repeat center center;
}
#supportive li:hover .facebook {
background-color:#3468B6;
-moz-transition:all .1s ease-in-out;
-webkit-transition:all .1s ease-in-out;
}
#supportive li:hover .twitter {
background:rgba(64,153,255,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEpfhRXSPzpAuTtTXC1LWnB-eink3aolMBovZig4tv3ztx4N4ycDr-8I2sU7HK-Ob7Sr936FJM3DuvbhBXE0w01OjR15PnHBbqMJiHPeI_9Pk9ezNLgBCbO8gERE-VsVY2UoWHdhwPRpE/h120/Twitter.png) no-repeat center center;
-moz-transition:all .1s ease-in-out;
-webkit-transition:all .1s ease-in-out;
}
#supportive li:hover .googleplus {
background:rgba(228,69,36,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKRBNcsiwTRU6soURZZQxo7ldpYtzr46Ez3zscmQvyc3CeOFXKn415VXP_ZGHVqAuCJikeEJRLec-fCIOyaoIH6BlbCTujXtI1XbbiXnutyeDgUn7ymgiWqxArfCLCvJyp_-SVrQ_dlEM/h120/google+plus.png) no-repeat center center;
-moz-transition:all .1s ease-in-out;
-webkit-transition:all .1s ease-in-out;
}
#supportive li:hover .rss {
background:rgba(255,102,0,1) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb8bTxNvj8O301spYtwISbMWxumJ4gjeKrX_pwYLqGsumMlrCgfJNtjCEmQ5C1rKWJscSm_A2nRAKEhUcVvJMon2nxmSvrG7T7oPFUszJ81svOnmu8AESuWDHAXRQD2Q42EZzsoUORQks/h120/rss.png) no-repeat center center;
-moz-transition:all .1s ease-in-out;
-webkit-transition:all .1s ease-in-out;
}
- Now head over to Layout and click on an Add a Gadget button.
- Select HTML/JavaScript and copy/paste the code below.
<ul id='supportive'>
<li><a class='icon facebook' href='http://www.facebook.com/FaceBookPage/'/></a></li>
<li><a class='icon twitter' href='http://twitter.com/TwitterUserName'/></a></li>
<li><a class='icon googleplus' href='https://plus.google.com/GooglePlusUserID/'/></a></li>
<li><a class='icon rss' href='http://feeds.feedburner.com/FeedBurnerUserName'/></a></li>
</ul>
- Replace the all the necessary info (highlighted in red) according to your own URL/user details.
- Save the widget and you’re done!
0 comments:
Post a Comment