Это в custom.css
/** Кнопка Верх */
a.bgbacktotop {
position:fixed;
top:45%;
opacity:0.4;
right:2px;
width:48px;
height:48px;
display:block;
background:url(http://cs-mo4ilova.ru/uploads/set_resources_49/abba4e95d50b67fefd328bc423dccee3_go_top.png) no-repeat 0 0;
z-index:99999999;
-webkit-transition:all .7s ease-in-out;
-moz-transition:all .7s ease-in-out;
-o-transition:all .7s ease-in-out;
-ms-transition:all .7s ease-in-out;
transition:all .7s ease-in-out;
}
/** Кнопка Вниз */
a.bgbacktobot {
position:fixed;
top:55%;
opacity:0.4;
right:2px;
width:48px;
height:48px;
display:block;
background:url(http://cs-mo4ilova.ru/uploads/set_resources_49/abba4e95d50b67fefd328bc423dccee3_go_bottom.png) no-repeat scroll 0 0 transparent;
z-index:99999999;
-webkit-transition:all .7s ease-in-out;
-moz-transition:all .7s ease-in-out;
-o-transition:all .7s ease-in-out;
-ms-transition:all .7s ease-in-out;
transition:all .7s ease-in-out;
}
В globalTemplate
в самом низу Перед
</body>
</html>
Добавить
<a class="bgbacktotop" href="#top" onclick="jQuery('html, body').animate({scrollTop:0}, 'slow');return false;"></a>
<a class="bgbacktobot" href="#bottom" onclick="jQuery('html, body').animate({scrollTop:document.documentElement.scrollHeight}, 'slow');return false;"></a>