scroll down a few pixels on page load

Question

I’d like to have my homepage automatically scrolled down a few pixels once loaded.
I tried with

<script>
(function($){
    $(window).on("load",function(){
        $.mPageScroll2id("scrollTo","#casa");
    });
})(jQuery);

with the “scroll to page id” plugin but it’s not really doing what I’m looking for (it loads when the page is loading and not after).

thanks
D.

0
, , Dande 6 months 0 Answers 75 views 0

Leave an answer