Adding "Top of Page" Icon Link: How to Add "Top of Page" Icon Link on Your Blog or Website
By blog
Many of the websites or blogs posts have a small text or image floating at the bottom-right or bottom-left or bottom-center. If you click on that text or image, you are redirected to the top of the current page. This is the "top of the page" icon link. It's really very helpful for all if the web-page or blog post has lengthy posts. This customization feature helps the visitors or readers to move to the page's top area. The great pleasure is that this customization feature is very easy to implement. You just need to add some lines of code. This page contains the information to add "Top of Page" icon link of your blog or website by using only the text.
Steps to add "Top of Page" icon link
Follow the following steps to add "Top of Page" icon Link:
Step 1: Logging to Blogger account
Go to www.blogger.com and log in to your account by using your username and password. After successfully log in, you will be redirected to Dashboard. In the Dashboard page, you will find all the blogs under your account.
Capsule Subtitle: Don't display this capsule: Background: Only available when aligned right.whitegreyblue Step 2: Accessing your blog's layout
From the "Dashboard", select the blog that you want to add top to of the page link. After selecting the blog, click on the Layout link of that blog. Very soon, you will be redirected to the "Layout" of your desired blog. From the "Layout" window, click on the link Page Elements.
Step 3: Adding a HTML/JavaScript widget
Follow the following procedures:
- From the page Layout's Page Element page, click on Add a Gadget link.
- A new window will be opened and from there, click on HTML/JavaScript option. By clicking this one HTML/JavaScript page element window will be added to your blog template.
- Now, you have to add some code. Just copy the following code and paste to the Configure HTML/JavaScript's Content box.
<a href="#"> <img src="http://i41.tinypic.com/yo66p.jpg" alt="Back to Top" title="Back to Top" style=" display: scroll; position: fixed; bottom: 5px; right: 5px;" /> </a>
4. After the following step, click on Save to save the code.
And that's all. View your blog and you will see the that there is a Top of the page icon link on your blog. In the following section, you will see the demo of this tutorial and the code description to modify according to your choice.
Live Demo of this tutorial
One blog is implemented by using the code and this tutorial. This is just the demo of this tutorial. This demo will present the live view of this tutorial and what will be the effect of this tutorial. To see the live demo of this tutorial, click on the following link:
Description of the code:
Line 1: <a href="#">
This line targets the top of the current webpage
Line 2: <img src="url_of_the_imageimage"
By this code, the URL of the image icon is defined. You must have to put the URL between the inverted comas.
Line 3: alt="alternative_text"
This line of code is just jor the alt text for accessibility
Line 4: title="Back to Top"
This will produce hover text. If you put your cursor then you will see a text line "Back to Top".
Line 5: style="display: scroll;
By using this code, you can scroll the image.
Line 6: position: fixed;
This line just fixes the image.
Line 7: bottom: 5px;
This line of code enables the image to appear 5px from the bottom.
Line 8 & 9: right: 5px;" /></a>
The above lines of code enable the image to appear 5px from the right and then closes all tags.
To sum up, by following the above tutorials you may be able to implement the Top of the page icon link on your blog or website. If you have any problem, ask in the comment section and I will try to solve your problem.
© This tutorial is written by Blog.
For more blogspot tutorials, visit http://hubpages.com/hub/blog-index
Related Resoruces
rancidTaste's Recent Pages
- Drawing a line: How to draw a line using HTML 5?
HTML5 canvas API provides basics tools and great supports to draw and style different types of sub paths including lines, arcs, Quadratic curves, and Bezier curves, as well as a means for creating paths by connecting sub paths. - 15 hours ago
- SEO Pages
SEO, Search Engine Optimization and Keywords - these common three terms are the brainstorming terms for any content publisher, seo company, seo service provider, seo researcher, seo firm, seo consultant, seo professional or other seo lover. - 3 months ago
- WordPress.org vs. WordPress.com: An explained comparison between WordPress.org an WordPress.com
WordPress is a common name but do you know that there are two things: WordPress. - 3 months ago
- Creating database from cpanel: How to create a database from cpanel hosting?
A step by step full tutorial to create a database from cpanel hosting account for any dynamic website. - 3 months ago
- Natural Join in Database: Retrieving records from more than one table with Natural Joins
Natural Join is one of the sql joining. - 3 months ago
- Explanation of SQL Join: Obtaining data from multiple tables using Join
Explanation of SQL Join: Obtaining data from multiple tables using Join. - 3 months ago
- How to solve "CreateFile error 32 when trying set file time" Error During Oracle Installation
Solution of the Oracle installation problem on Windows 7 / Windows XP during Oracle installation start-up. - 3 months ago
- A Brief Explanation of SQL Statements and Classification
Any type of database is based on several statements. - 3 months ago
blog's Recent Pages
- Hover Peek-a-boo Blogger Navbar: How to Hide Blogger Navbar and Make It Visible When You Place the Mouse Cursor on It?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Remove or Hide the Blogger Navbar: How to Remove or Hide Blogger Navbar?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Change the Color of Blogger Navbar: How to Change the Color of Blogger Navbar?
The Blogger Navbar appears by default at the top of every Blogger-powered blog. - 2 years ago
- Blogger Navbar: What Is Blogger Navbar And It's Advantages and Disadvantages
Blogger Navbar appears at the top of every blogger by default. - 2 years ago
- Adding "Top of Page" Icon Link: How to Add "Top of Page" Icon Link on Your Blog or Website
Many of the websites or blogs posts have a small text or image floating at the bottom-right or bottom-left or bottom-center. - 2 years ago
- Adding "Top of Page" Text Link: How to Add "Top of Page" Text Link on Your Blog or Website
Many of the websites or blogs posts have a small text or image floating at the bottom-right or bottom-left or bottom-center. - 2 years ago
- Adding Signature to Blogger Posts: How to Add a Signature under Your Blogger Posts?
You can easily add your own custom signature to your blogger posts. - 2 years ago
- Blogger Falling Rectangles : How to Add Falling Rectangles to Blogger?
You can add falling objects like small rectangles, circles, stars etc. - 2 years ago


mick statham 2 years ago
HI I have used this method to create a buttin on my blog to scroll the reader back to the top of the page. Is there anywayto slow the scroll down a little. I have seen some pages that have a really smooth scroll, this jumps right back to the top. Thanks for the code. Cheers.
Mick S.