Viewing 2 replies - 1 through 2 (of 2 total)
  • Edit plugin

    Find this line in page-scroll-to-id/jquery.malihu.PageScroll2id.js file

    var scrollToPos=$(“#”+scrollTarget[1]).offset().top;

    change to

    var scrollToPos=$(“#”+scrollTarget[1]).offset().top-[number(pixel)];
    [number(pixel)] depends on height of your fixed/sticky menu

    Plugin Author malihu

    (@malihu)

    Added offset option in version 1.5.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to offset scroll position with a fixed menu?’ is closed to new replies.