Original Tutorial on : www.myskins.org
Hello guys,
I have been asked by many people on how to add social links into the footer or header or where ever possible just like my site.
So i am making a tutorial on how to add the links to your footer, the social icons.
So the first thing you need is to have a Social icon set.
Example down load this set : Link
Create a Folder called Social in your server, which means in public_html > Images > Social.
Upload whatever icons you need to show.
Now into the coding :
First the css task:
All you need to do is copy this code and place it at the bottom of your global.css of your theme.
The example is above has only facebook icon and twitter icon.
If you need extra icons, just make another class and copy the facebook code into it.
Now the Html time:
Below is the code which i have added into footer template.
You can add it any where to your likes.
Preview: www.myskins.org look at footer .
This finishes the tutorial, and it is as simple as it takes less than 10 minutes.
Hope this helpful, and feel free to ask your questions.
regards,
Hello guys,
I have been asked by many people on how to add social links into the footer or header or where ever possible just like my site.
So i am making a tutorial on how to add the links to your footer, the social icons.
So the first thing you need is to have a Social icon set.
Example down load this set : Link
Create a Folder called Social in your server, which means in public_html > Images > Social.
Upload whatever icons you need to show.
Now into the coding :
First the css task:
All you need to do is copy this code and place it at the bottom of your global.css of your theme.
.fb a {
background: url(images/Social/facebook.png) no-repeat;
width: 32px;
height: 32px;
display: block;
opacity: 0.8;
float: right;
padding-right: 5px;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.fb a:hover {
opacity: 1;
}
.tw a {
background: url(images/Social/twitter.png) no-repeat;
width: 32px;
height: 32px;
display: block;
opacity: 0.8;
float: right;
padding-right: 5px;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.tw a:hover {
opacity: 1;
}
The example is above has only facebook icon and twitter icon.
If you need extra icons, just make another class and copy the facebook code into it.
Now the Html time:
Below is the code which i have added into footer template.
You can add it any where to your likes.
<div>
<span class="tw"><a href="https://twitter.com/" target="_blank" title="Follow us on Twitter"></a></span>
<span class="fb"><a href="https://www.facebook.com/" target="_blank" title="Like Us on Facebook"></a></span>
<span style="float: right;padding: 5px;font-size: 18px;color: #606060;">Social Links :</span>
</div>
All you need is to modify the links in the code, that links your profile in the respective network.Preview: www.myskins.org look at footer .
This finishes the tutorial, and it is as simple as it takes less than 10 minutes.
Hope this helpful, and feel free to ask your questions.
regards,