How to Add Back To Top Button To Your Blogger Blog. +19 Different Styles And More.


Today we’ll learn a very easy and important trick, Specially if you have got a lot of content on you blog pages, And if you want your blog to be easy to use for your visitors, A back to top link or button on your blogspot blog will make it easier and faster to your visitors when it comes to fast exploring and browsing.
Ad
Now we’ll see how to add
  • 1. Image Back To Top Buttons With 19 Different Styles
  • 2. Text Back To Top Link with different styles And Colors
1. Image Back To Top Buttons With 19 Different Styles
Step 1
Ok, now go to your blogger account and go to, Dashboard >> Layout >> Edit html >> and please find the following code.
]]></b:skin>
 And before it add this code
#backtotop {
padding:5px;
position:fixed;
bottom:10px;right:10px;
cursor:pointer;
}
Step 2
Now find the following code.

</body> 
 and before it add the next code.

<a href="#" id="backtotop"><img src="Image-Url" alt="back to top" /></a>  
 But before adding this code to your template please choose your favorite button of the following And change the words in red, Image-Url to the button url.


http://1.bp.blogspot.com/-WPVe1HpluX0/UDV-j__giII/AAAAAAAAAdc/HThAxOvpts0/s1600/noble+top+-5.png

 
http://2.bp.blogspot.com/-vnwuyghuMN8/UDV_c_0ctRI/AAAAAAAAAdk/1UsS1UKxTpY/s1600/noble+top+4.png
http://2.bp.blogspot.com/-zJlRGMtaRFs/UDV_26-GjHI/AAAAAAAAAds/JDv3RMGMFd8/s1600/noble+top+3.png

http://1.bp.blogspot.com/-ek_2VhJnWog/UDWBh-slj5I/AAAAAAAAAd0/xcaY7Kho4jw/s1600/noble+top+4.png
 
http://2.bp.blogspot.com/-_7HlIg06J2w/UDWB1GLGCFI/AAAAAAAAAd8/55B5y65-3zg/s1600/noble+top+6.png

http://3.bp.blogspot.com/-MDKPRfSH40U/UDWCG45QMxI/AAAAAAAAAeE/yulMUASxtDs/s1600/noble+top+7.png
http://1.bp.blogspot.com/-1HOwDD5jnlo/UDWCXmB_hpI/AAAAAAAAAeU/Rp2XxTbwxr4/s1600/noble+top+8.png


http://2.bp.blogspot.com/-P__6TqX_Axw/UDWCkk3_HuI/AAAAAAAAAec/vPcvSfvSBGs/s1600/noble+top+9.png

http://2.bp.blogspot.com/-sH2pL_cQKos/UDWCwZ1f0VI/AAAAAAAAAek/y4P1xgbQWNY/s1600/noble+top+10.png

http://3.bp.blogspot.com/-ynFFJxFg5TI/UDWC7qA-FAI/AAAAAAAAAes/1ANXIDXfkwc/s1600/noble+top+11.png

http://1.bp.blogspot.com/-Kc_7cAKmCj0/UDWDFTKMKLI/AAAAAAAAAe0/rz39VF4Yneg/s1600/noble+top+12.png

http://2.bp.blogspot.com/-j3IBsNvyOA0/UDWDXFjTlVI/AAAAAAAAAe8/6nZWXizZl74/s1600/noble+top+13.png


http://4.bp.blogspot.com/-gKrTjO6S2Rk/UDWDidGwNxI/AAAAAAAAAfE/yvq3z3TMa-w/s1600/noble+top+14.png

http://3.bp.blogspot.com/-L_S3Clc4luA/UDWE5HniGXI/AAAAAAAAAfM/fNcTktER7uE/s1600/noble+top+15.png

http://4.bp.blogspot.com/-OAPUAeL1SKs/UDWFNZKG4VI/AAAAAAAAAfU/k8HfcUvOH50/s1600/noble+top+16.png

http://4.bp.blogspot.com/-wyNV7tihs2Y/UDWFiu8Lu_I/AAAAAAAAAfc/tCdB2xglsis/s1600/noble+top+17.png

http://1.bp.blogspot.com/-mdpOA52x0bQ/UDWFwUkdb9I/AAAAAAAAAfk/VmX8fC0aRgY/s1600/noble+top+18.png

http://3.bp.blogspot.com/-01CYcy4Q8Fs/UDWF_10CuQI/AAAAAAAAAfs/_fp1Xb0V_Do/s1600/noble+top+20.png

http://3.bp.blogspot.com/-RsX49gnUNGo/UDWGNKoWYCI/AAAAAAAAAf0/Tq0_4FX9e5E/s1600/noble+top+19.png

http://4.bp.blogspot.com/-rJxTtUykK6s/UDWGd93Y1XI/AAAAAAAAAf8/wzMexWxiodc/s1600/noble+top+21.png
 After Replacing the Image-Url with your favorite button url, it should looks like this

<a href="#" id="backtotop"><img src="http://4.bp.blogspot.com/-rJxTtUykK6s/UDWGd93Y1XI/AAAAAAAAAf8/wzMexWxiodc/s1600/noble+top+21.png
" alt="back to top" /></a> 

paste it into your template code,
Step 3
Find the following code.
&lt;script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js'
type='text/javascript'&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot;&gt;
$(window).ready(function(){
$('#backtotop').click(function(e){
e.preventDefault();
$('html, body').animate({scrollTop:0}, 'slow');
});
});
&lt;/script&gt;
 and then click Save Template 
And you are done.





Post a Comment

0 Comments