Don't Miss

Flat UI style Go to Top Button with jQuery for Blogger

By Zohaib Liaqat - No Comments
Today we have another amazing widget for your "Scroll to top Widget". This widget allow you users to go to top of the page with ease of a click. This is a flat UI style Scroll to Top button and it only appears when the user scrolls down the page and disappears as he scrolls up. Follow the steps below to add this widget to your blog:

Add Metro Style Go to Top Button to Blogger

Step 1. Log in to your Blogger Dashboard
Step 2. Go to Template >> Click on Edit HTML and search (Ctrl + F) for the Following Tag


Step 3. Copy the Below code and Paste it just above/before the </body> tag

<style type='text/css'>
#bgt-StoTop {-moz-border-radius: 0px;-webkit-border-radius: 0px;border-radius: 0px; width:100px;background-color: #02ab68;background-color: #02ab68;filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=&#39;#9902ab68&#39;,EndColorStr=&#39;#9902ab68&#39;);text-align:center;padding:5px;position:fixed;bottom:10px;right:10px;cursor:pointer;color:#444;text-decoration:none;border:1px solid #02ab68;}
<script src='' type='text/javascript'/>
<script type='text/javascript'>
jQuery(function($) {
    $.fn.scrollToTop = function() {
    if ($(window).scrollTop() != &quot;0&quot;) {
    var scrollDiv = $(this);
    $(window).scroll(function() {
        if ($(window).scrollTop() == &quot;0&quot;) {
        } else {
    $(this).click(function() {
        $(&quot;html, body&quot;).animate({
        scrollTop: 0
        }, &quot;slow&quot;)
jQuery(function($) {
<a href='#' id='bgt-StoTop' style='display:none;'>Back to Top </a>

Step 4. Hit the Save Button
And you're Done


No Comment to " Flat UI style Go to Top Button with jQuery for Blogger "