Using Perth, I noticed a strange behavior using HTML’s “a” tag to create anchors in posts/pages.
In my home page everything works wonderfully: when the link is clicked, the smooth scrolling animation is displayed and the position where it stops is exactly below the menu.
Now I’m trying to add some anchors to a post and this is what happens:
When a link is clicked, page cuts directly to the anchor with no nice animation;
The menu is NOT taken into account, meaning the anchor location is positioned behind it. In effect, this one requires me to manually scroll the page so I can see what was lying behind the stick menu.
So, I wonder why the front page and the regular post have different implementations of both the menu and the “a” tag. How would I be able to make it work everywhere on my site?