Hi
I have a multipage site, but the subnav in one menu item link to sections further down the page, and I would like to use smooth scrolling. I have used this code: <a href="#sec1" data-scrollto="#sec1">Scroll to Header</a> to turn on smooth scrolling, but it's not jumping to the right part of the page: the page scrolls to about 150px above #sec1, so it's not at the top of the window.
My page has a full screen slider image at the top page (which parallaxes) with all the text sections underneath.
If I remove the data-scrollto attribute, it goes to the correct place, with #sec1 appearing at the top of the window.
Also, if I link to the section from another page, using <a href="features.html#sec1">, the top of #sec1 is even further away, approximately in the center of the window. This seems to be getting confused with the slider image above all the sections. If I remove the slider-parallax class from the slider it goes to the correct place in the doc.
Any ideas?
Thanks.
