728x90 AdSpace

  • Latest News

    Friday, 4 August 2017

    How To Add Animated Back To Top Widget to Blogger


    We are going to share a trick that will help you to add animated scroll to top button for your blogger. This features is now available in all website's but don’t worry this feature can now be add to your website.

    Today we are here with the cool blogger widget that is How To Add Animated Back To Top Widget to Blogger. If your blog topic from those categories which has longer articles, then this widget is best work for you. So have a look on complete guide discussed below to proceed.


    Steps To Add Animated Back To Top Widget to your Blogger:

    Step 1. First of all, you need to Sign into your blogger and Select your blog. 



    Step 2. Now you need to Go to "Theme" tab. 



    Step 3. Now from there click on “Edit HTML”.



    Step 4. Now search  (using Ctrl + F) for the following text.


    <b:skin><![CDATA[


    Step 5. Now you need paste this code.


    .td-scroll-up,span.backtotop{cursor:pointer;position:fixed;height:40px;width:40px}span.backtotop{z-index:5;font-size:25px;line-height:40px;-o-border-radius:2px;-ms-border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;bottom:10px;right:10px;background:0 0;text-align:center;color:#FFF}.backtotop:hover{background:#464646}.td-scroll-up{background-color:#3b5998;bottom:4px;right:5px;z-index:9999;transform:translate3d(0,70px,0);-webkit-transform:translate3d(0,70px,0);-moz-transform:translate3d(0,70px,0);-ms-transform:translate3d(0,70px,0);-o-transform:translate3d(0,70px,0);-webkit-transition:transform .4s cubic-bezier(.55,0,.1,1) 0s;-moz-transition:transform .4s cubic-bezier(.55,0,.1,1) 0s;-o-transition:transform .4s cubic-bezier(.55,0,.1,1) 0s;transition:transform .4s cubic-bezier(.55,0,.1,1) 0s}.td-scroll-up-visible{transform:translate3d(0,0,0);-webkit-transform:translate3d(0,00,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0)}.td-scroll-up .td-icon-menu-up{position:relative;color:#fff;font-size:20px;display:block;text-align:center;width:40px;top:7px}.td-icon-menu-up:before{content:'\f077'}[class*=td-icon-]{line-height:1;text-align:center;display:inline-block}[class*=" td-icon-"]:before,[class^=td-icon-]:before{font-family:FontAwesome;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

    Step 6. Now Paste this Phrase under “<head>”.


    <link href='http://ift.tt/2g6N0YS' rel='stylesheet'/>
    <script>
    $(function(){
    $(document).on( &#39;scroll&#39;, function(){
    if ($(window).scrollTop() &gt; 100) {
    $(&#39;.td-scroll-up&#39;).addClass(&#39;td-scroll-up-visible&#39;);
    } else {
    $(&#39;.td-scroll-up&#39;).removeClass(&#39;td-scroll-up-visible&#39;);
    }
    });
    $(&#39;.td-scroll-up&#39;).on(&#39;click&#39;, scrollToTop);
    });
    function scrollToTop() {
    verticalOffset = typeof(verticalOffset) != &#39;undefined&#39; ? verticalOffset : 0;
    element = $(&#39;body&#39;);
    offset = element.offset();
    offsetTop = offset.top;
    $(&#39;html, body&#39;).animate({scrollTop: offsetTop}, 500, &#39;linear&#39;);
    }
    </script>  
    Step 8. Now Paste this HTML code below <body> tag.



    <div class='td-scroll-up'><i class='td-icon-menu-top'></i></div>

    Step 8. Now Save theme.


    That’s it! you are done.
    So above is all about How To Add Animated Back To Top Widget to Blogger. With the above method, you can easily get Back to Top button in your website very easily. So I Hope you like this, do share with others too. Leave a comment below if you have any related queries with this.
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: How To Add Animated Back To Top Widget to Blogger Rating: 5 Reviewed By: Unknown
    Scroll to Top