The navigation links/buttons are very much important when we have large number of posts on a blog page. The navigation links/buttons will always be very important in case the blog has a lot many number of posts being displayed or the posts are too long. If all such cases it will be very frustrating to scroll up and down to go through the posts we have on the blog. We can avoid scrolling if we have a button that can do the scrolling for us.
The buttons that we are going to add to the blogger have a cool effect of fade in and fade out. The buttons will be faded out when the during the process of scrolling by clicking any one of the buttons.
Let us see the process of adding "Go to Top" and "Go to Bottom" buttons to blogger.
1. Go to Dashboard -> Template -> Edit HTML
2. Search for the below piece of code
]]></b:skin>
3. Add the below mentioned code just before ]]></b:skin>
NOTE: We can make changes to the above code if we want to change the buttons width, height, background etc., as mentioned as comments in the above code.
4. Now search for the below code
</body>
5. Add the below code just before the </body>
6. Save the template and view blog to see the changes.
Now the blog should get updated and the buttons "Go to Top" and "Go to Bottom" should be displayed.
NOTE: If we don't need "Go to Top" button remove the below part of code from the above script.
<div class='button_up' id='button_up' style='display:none;'/>
And if we don't need "Go to Bottom" button then remove the below part of code from the above script.
<div class='button_down' id='button_down' style='display:none;'/>
If you like the post, take a couple of minutes to comment and share.
Your comments are most valuable and would help me come up with better posts.
The buttons that we are going to add to the blogger have a cool effect of fade in and fade out. The buttons will be faded out when the during the process of scrolling by clicking any one of the buttons.
Let us see the process of adding "Go to Top" and "Go to Bottom" buttons to blogger.
1. Go to Dashboard -> Template -> Edit HTML
2. Search for the below piece of code
]]></b:skin>
3. Add the below mentioned code just before ]]></b:skin>
NOTE: We can make changes to the above code if we want to change the buttons width, height, background etc., as mentioned as comments in the above code.
4. Now search for the below code
</body>
5. Add the below code just before the </body>
6. Save the template and view blog to see the changes.
Now the blog should get updated and the buttons "Go to Top" and "Go to Bottom" should be displayed.
NOTE: If we don't need "Go to Top" button remove the below part of code from the above script.
<div class='button_up' id='button_up' style='display:none;'/>
And if we don't need "Go to Bottom" button then remove the below part of code from the above script.
<div class='button_down' id='button_down' style='display:none;'/>
If you like the post, take a couple of minutes to comment and share.
Your comments are most valuable and would help me come up with better posts.
0 comments:
Post a Comment