Hi,
Can you please show me how to resize, change color or remove the footer bar in Purity 3? Below is my code from /tpls/blocks/footer.php. Is it possible to avoid using custom.css and use only LESS? All I want in the footer is to have some text with the address of a company. Maybe there is an easier option like for example removing footer block from default.php and adding a new one? Many thanks for your help.
[code type="xml"]
(function($) {
// Back to top
$('#back-to-top').on('click', function(){
$("html, body"
.animate({scrollTop: 0}, 500);
return false;
});
$(window).load(function(){
// hide button to top if the document height not greater than window height*2;using window load for more accurate calculate.
if ((parseInt($(window).height())*2)>(parseInt($(document).height()))) {
$('#back-to-top').hide();
}
});
})(jQuery);
Can you please show me how to resize, change color or remove the footer bar in Purity 3? Below is my code from /tpls/blocks/footer.php. Is it possible to avoid using custom.css and use only LESS? All I want in the footer is to have some text with the address of a company. Maybe there is an easier option like for example removing footer block from default.php and adding a new one? Many thanks for your help.
[code type="xml"]
(function($) {
// Back to top
$('#back-to-top').on('click', function(){
$("html, body"
return false;
});
$(window).load(function(){
// hide button to top if the document height not greater than window height*2;using window load for more accurate calculate.
if ((parseInt($(window).height())*2)>(parseInt($(document).height()))) {
$('#back-to-top').hide();
}
});
})(jQuery);