Skip to main content

Add a Floating Back to Top Button in your Blog / Website

Bismillah! The following article is about "back to top" buttons for websites or blogs made with the help of some simple CSS and HTML code. Back to Top button is a button which is used to go to the top of the page. When a user comes downwards reading any article or any other thing on the page of the blog or website then it is difficult and a little bit time-taking work to go back to the top of the page. So if you add a button for this purpose then your site's users / visitors can easily go to top by clicking it. Almost every professional website and blog has a "go to top" or "back to top button".
This tutorial is for you to add a back to top button easily in your blog or website. The steps to add this button are given below:


1. Open your website / blog's HTML and paste the following code just above the </body> tag
<!--BACK2TOP-IMAGE-STARTS-TECHMODULES.BLOGSPOT.COM--><a alt="Back to Top" style="display:scroll;position:fixed;bottom:25px;left:5px;" href="#" title="Back to Top"><img onmouseover="this.src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0otq9AroZVkirnly4gopxD-vtXIuERRtSjVoebV5eLCB1lqY4Tf4dUm8ijPdyfO9Y4Hlat2H3UWrTwUzYH42CEVih-wkJf80MoR66rjjFnV8hMSZ_9MRNAOO9Vzn1MSGHRS2CbhYpKQw/s1600/Back2Top_2.jpg&#39;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmnmofH6RZBe2qSOdctP4GiNqX9jRgb1M7JNSfOIg-qEVWjakfF86aBPVHBaVbQtYHsmN9eoY4vbDBg0tbZu3CsKfhQq8ppzqC35Fm2d6fdXQT-8E_YE3DhckP5RuOAHq3OpiwbjH2ilw/s1600/B2T_Small.jpg" onmouseout="this.src=&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmnmofH6RZBe2qSOdctP4GiNqX9jRgb1M7JNSfOIg-qEVWjakfF86aBPVHBaVbQtYHsmN9eoY4vbDBg0tbZu3CsKfhQq8ppzqC35Fm2d6fdXQT-8E_YE3DhckP5RuOAHq3OpiwbjH2ilw/s1600/B2T_Small.jpg&#39;" /></a> 
<!--BACK2TOP-IMAGE-STOPS-TECHMODULES.BLOGSPOT.COM-->
2. OPTIONAL: You can change the red code with your own image URL.
You have done it. Now refresh your website to check the button.

Features:

  • Fixed position on the page
  • Easy customization
  • Zoom effect on mouse over
  • No effect on page loading speed

Note: Please give your comments about this article with the comment form below.

Comments

  1. great blog will be trying out these on my blog.

    ReplyDelete
  2. They will surely help a lot.Thanks a lot ! Would definitely try out in my blog also.
    web design company

    ReplyDelete

Post a Comment

Popular posts from this blog

Download The Best Templates Ever!

Every body knows that template is an essential part of one's site/blog.Evey wants a nice and attractive template for his site or blog.But some need templates of their own choice.Today I'm giving the link to those sites which  provide free templates especially for blogger.These are the best templates.I have chosen them  for you. So here's the links and sites names.You can download them.                                                                                                                                              Download  Best Templates For Blogger Here is one of the coolest template: ...

Hide Post Date,Time And Author

There many reasons for hiding post date,time and author like a blogger wants to see his blog clean and clear so he hide them.I am going to show you that how to hide post date,time and author name.So don’t waste your time on thinking and just follow the simple steps given:

Submit Blogger Sitemap To Bing And Yahoo

  Every one believes that Google is the #1 site overall the world and most of the people like to search on Google  .But many other like Bing and Yahoo and like to search on them So one must submit his site to Google as well  as to Yahoo and Bing. After submitting your site to Yahoo And Bing you will see a huge Traffic rate increased in your blog/site.Yahoo merged site explorer into Bing Webmaster Tools with a partnership contract.From then onwards webmasters were requested to submit there sitemaps to Bing in order to except  traffic from Yahoo and Bing both.So don’t waste your time and Just follow the steps below: