An letzter Stelle in /templates/deinTemplate/html/com_content/category/blog.php diese Script einsetzen:

<script type="text/javascript">
(function($){
$(function() {
$('a[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
var plusOffset = 60;
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html, body').animate({
scrollTop: target.offset().top-plusOffset
}, 1000);
return false;
}
}
});
});
$(window).load(function(){
var target = window.location.hash
if(target){
$('html, body').animate({
scrollTop: $(target).offset().top-60
}, 1000);
}
})
})(jQuery);
</script>

 

Go To Top