Saturday, July 5, 2014

Share It

CSS3 social sharing buttons with fading effect and tooltip on hover

css3_social_sharing_buttons0I have discussed about making a sticky menu bar at bottom of blogger footer. I have given you how to put social sharing buttons in that menu bar. In today’s tutorial I will show you how to make social sharing widget that will show fading effect with tooltips when mouse over.
These social sharing buttons are very good looking and suits all blogger themes. You can use these buttons for your blogger blog to share your blog posts directly on social sites. Social sharing helps you very much for your SEO. Users can directly share your content links on social sites and it will gain you more readers to your blog.

How these social buttons look like?

Look at the below images for how this widget looks.
Normally when you apply this widget to your blog it looks like the following image.
 css3_social_sharing_buttons After applying this widget when you over the mouse on the widget then it looks like the following image.
css3_social_sharing_buttons1
Do you like this widget? Then why don’t you add it to your blog? Grab the code below and follow the steps to install this widget on your blog.
  1. Go to blogger >Template
  2. Back up your template before editing (important)
  3. Go to Edit HTML.
 Now search for ]]></b:skin>. Just above ]]></b:skin> paste the below code.

    /* SOCIAL ICONS - GENERAL */
    .trickstownsocial { list-style:none; margin:30px auto; width:464px; }
    .trickstownsocial li { display:inline; float:left; background-repeat:no-repeat; }
    .trickstownsocial li a { display:block; width:48px; height:48px; padding-right:10px; position:relative; text-decoration:none; }
    .trickstownsocial li a strong { font-weight:normal; position:absolute; left:20px; top:-1px; color:#fff; padding:3px; z-index:9999;
    text-shadow:1px 1px 0 rgba(0, 0, 0, 0.75); background-color:rgba(0, 0, 0, 0.7);
    -moz-border-radius:3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-border-radius:3px; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); border-radius:3px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    }

    li.trickstowndelicious { background-image:url("http://1.bp.blogspot.com/-r9GCcESrmZE/UOPjzHUPBxI/AAAAAAAAE1U/8DLNnBB33MM/s1600/delicious.png"); }
    li.trickstowndigg { background-image:url("http://1.bp.blogspot.com/-5mspUW5F9TI/UOPj2HzwLxI/AAAAAAAAE1c/NuYIs3IeTSg/s1600/digg.png"); }
    li.trickstownfacebook { background-image:url("http://3.bp.blogspot.com/-NBREMcgJgPo/UOPj5tyYweI/AAAAAAAAE1k/Wb5bnpg84NU/s1600/facebook.png"); }
    li.trickstownflickr { background-image:url("http://4.bp.blogspot.com/-2bb6UmTsZJc/UOPj8wPU1tI/AAAAAAAAE1s/6IizY3fn_5A/s1600/flickr.png"); }
    li.trickstownlinkedin { background-image:url("http://4.bp.blogspot.com/-eALRey2GJ8w/UOPkHJFN_mI/AAAAAAAAE10/5zuacjH0XFw/s1600/linkedin.png"); }
    li.trickstownreddit { background-image:url("http://4.bp.blogspot.com/-89qB-dj1b44/UOPkOHHNrCI/AAAAAAAAE18/TCrPRsZz-60/s1600/reddit.png"); }
    li.trickstownrss { background-image:url("http://4.bp.blogspot.com/-bjJPfIVepFY/UOPkR6KuPII/AAAAAAAAE2E/RlmaB0c9RTc/s1600/rss.png"); }
    li.trickstowntwitter { background-image:url("http://3.bp.blogspot.com/-1Rxjxyu0rK0/UOPkUyltCSI/AAAAAAAAE2M/L3MtfMQ4jak/s1600/twitter.png"); }

    /* SOCIAL ICONS - CSS3 */
    #trickstownshare:hover li { opacity:0.2; }

    #trickstownshare li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms;
    -moz-transition-property: opacity; -moz-transition-duration: 500ms; }
    #trickstownshare li a strong { opacity:0;
    -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms;
    -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }

    #trickstownshare li:hover { opacity:1; }
    #trickstownshare li:hover a strong { opacity:1; top:-10px; }
Search for <b:if cond='data:blog.pageType == &quot;item&quot;'> and paste the below code between   <b:if cond='data:blog.pageType == &quot;item&quot;'> and     </b:if>

     <!-- trickstownsocial Media Buttons - CSS3 -->
            <ul class="trickstownsocial" id="trickstownshare">
                <li class="trickstowndelicious">
                    <a href="http://www.delicious.com/"><strong>Delicious</strong></a>
                </li>
                <li class="trickstowndigg">
                    <a href="http://digg.com/"><strong>Digg</strong></a>
                </li>
                <li class="trickstownfacebook">
                    <a href="http://www.facebook.com/"><strong>Facebook</strong></a>
                </li>
                <li class="trickstownflickr">
                    <a href="http://www.flickr.com/"><strong>Flickr</strong></a>
                </li>
                <li class="trickstownlinkedin">
                    <a href="http://www.linkedin.com/"><strong>LinkedIn</strong></a>
                </li>
                <li class="trickstownreddit">
                    <a href="http://www.reddit.com/"><strong>Reddit</strong></a>
                </li>
                <li class="trickstownrss">
                    <a href="http://feeds2.feedburner.com/"><strong>RSS</strong></a>
                </li>
                <li class="trickstowntwitter">
                    <a href="http://twitter.com/"><strong>Twitter</strong></a>
                </li>
            </ul>
            <!-- /trickstownsocial Media Buttons - CSS3 -->



Author: Bhanu Chander Bathini (CEO, Tricks Town.)
Hey friends, I am Bhanu Chander a Web Designer/Developer, Content writer, Freelance SEO analyst and a blogger. I am pursuing my M.Tech in Computer Science and Engg. You can contact me on bhanu4funn@gmail.com for web design solutions at low cost with effective SEO.

0 comments: