I have a strange issue on a page I created. It has a fixed header (two headers layered on each other actually) and left panel with anchors which scrolls to certain part of the page using jQuery plugin ScrollTo, when onclick event is triggered.
However it doesn't work as it should. When I click the link, it scrolls to the paragraph and it skips the title. I did a little research and found out, that it works, when there's no height or width parameter on the fixed header. I really have no idea how to fix it, can anybody help please?
You can see the page (with sample content) here: http://codepen.io/anon/pen/ByBqBW
Again, thanks for any answer.
The scroll is working correctly, but your fixed header is getting in the way. You just need to not scroll quite all the way to the element, right? Luckily, you can set the offset for the scroll like this: