Back To Top Widget For Blogger/BlogSpot (Fast & Stylish)

We use many types of widgets to make our blog stylish and attractive, which may or may not be useful for our blog, but we use it


But some Blogger/Blogpost also has a widget that makes our blog look good as well as it is also helpful for good navigation of our blog and that widget is bake to top widget for blogger.


So let's know what this bake to top widget is and how you can use it in your blogger, So let's start


Back to Top Button Widget for Blogger/Blogspot


back-to-top-button-widget-for-blogger

Bake to Top is an arrow that helps in navigation of the blog as a button.


Bake to top button is a benefit of adding to the blogger that whenever a reader will come to your blog and it scrolls down your post and the length of your post is more and the reader has gone very down and if the user has to go back to the top section of the post above, then he can go up by clicking on the Back to Top button.


So let's now know how you can add to the top button widget blogger.


How to Add Back To Top Widget For Blogger/Blogspot


Step 1: First login your Blogger Account


(Now your blog dashboard will open in front of you)


Step 2: Now you Click on Layout


blogger-layout


(When you click on Layout, the Blogger Layout window will open in front of you.)


Step 3: click on the Add Gadget of that section.


(Then you will have a blogger gadget popup show)


add-gadget


Step 4: Now you Click on HTML / JavaScript


blogger-gadget



Step 5: Then paste the back to top button widget code in HTML / JavaScript.



<script src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js'></script>

<script>

jQuery(document).ready(function() {

var offset = 220;

var duration = 500;

jQuery(window).scroll(function() {

if (jQuery(this).scrollTop() > offset) {

jQuery('.back-to-top').fadeIn(duration);

} else {

jQuery('.back-to-top').fadeOut(duration);}});

jQuery('.back-to-top').click(function(event) {

event.preventDefault();

jQuery('html, body').animate({scrollTop: 0}, duration);

return false;})});

</script>

<style>

div#page {

max-width: 900px;

margin-left: auto;

margin-right: auto;

padding: 20px;

}

.back-to-top {

position: fixed;

bottom: 2em;

right: 0px;

text-decoration: none;

color: #000000;

font-size: 12px;

padding: 1em;

display: none;

}

.back-to-top:hover {

text-decoration: none;

}

</style>


<a href="#" class="back-to-top">

<i class='fa fa-toggle-up' style='font-size:36px'/></i>

</a>


Step5: Click on Save 


Also Read:Preloader For Blogger/BlogSpot 

 

Back To Top Button With Picture


If you want to change the style of your back to the top button then you can see the code shown in Red color above. Remove and paste the code of the button shown below.



<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9ySgDtgaBKGS78__9aJb6C7sblXpTxfVk5rp3bYvvvvcv4Sk-GmAEDBwz5_QB0iWtwQg36tpUEdHtEzZCVCeioqhE9OnnubDDuq9CRQZSvGGYpXei0MqCUHMA38amdhX-3xN4jXj5qSA/s35/b1.PNG" alt="Button" width="25px" height="25px" />




<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJw_K8N0OoW_v4bgjUQHMb-OsUTXKgU0HJm0yqUlYXUFIVGtr8ICP8L1S4rvxFn9qIhv4nbg07xfzYjpBYsDNi5mZExMEQs_hPGJu6ralQcHxP7-Gm4x80en_XEzTPZ_cHUS7Uj2SPi5o/s36/picture-2.PNG" alt="Button" width="25px" height="25px" />



<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5AbA76dxvw0y67hM7L6c_f5ELEWEBhsH5km9basi8OKBq0B3jGo7fgkkQBcuMs3rU9U05fdQPWhB_QKLMjnnNblk9q108OTt767xJkZpu57Sl_TwBWfZ_aK2lwoRoXj1MSXCEZwkaQ9U/s37/picture-3.PNG" alt="Button" width="25px" height="25px" />



<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhACbYty-9vXCoZt7xKbOqFiXphHrFFjNsNWYu8WNac964s85PRGjHPTSf_P0v81RKNDZeUa31O2z-wE_MYJ5ZEEsscxmS4ziRFCsKaEG35ZjgsOSm888mdPARafUP6aZcVsbLLa1tdIVc/s37/picture-4.PNG" alt="Button" width="25px" height="25px" />



<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWxnkRpwEKsd0NIHMGIuhNOGMiuyIoJAsEVcLCfUeT01VHIKD7qnRF2JptMRnvZDDUvpcWKwznXU-ITgV4ovrXzdnlpKRiQW-0qZ6e0ZYpcO4FFqIRk_PDDWzhJ4HJtbQ4R04g1-zyNIc/s50/picture-5.png" alt="Button" width="25px" height="25px" />




<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic0fmEgSYg35q2x3NGT1jjZ_zg3yFzFPJIR1tMHMf0o5nS9-7PJummVOO8e3i6dGmz5EUVb5YPAgsWrq8B0Z1YpFAUr8Dk8QYhWCWq0ISfH4LrQ-ecFI1nI0yKjZW2PEw5dyAXpUNwOgc/s51/picture-6.png" alt="Button" width="25px" height="25px" />




<img src="
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYvJh4aEkujwIQDJ52_vvZjPQRBCQBaW1s5CWDY1p3S7DR5FavzqQEwi5nMkLxO1BmxaRtYBTy55BzXG_f-n8jImYAWlMw_bGMIo3rx3gJgVdPRBejPGEdGMy0CaES9Ab_HHKt-otHxHY/s36/pictures-1.PNG" alt="Button" width="25px" height="25px" />


If you want to change the size of the button, you can change its height and width change.

Post a Comment

0 Comments