Recently I noticed that when I click on the anchor text it goes right to anchor hyperlink item but gets hidden behind the navigation menu. Users can see the header when they scroll up. Need help to align the header in such scenarios.
I am using the anchor link like below.
<h2><a name="test"></a>2. Test</h2>
then hyperlinked to #test
by the way it works fine on the mobile page, as the navbar is hidden
and also when I click on the anchor link it just snap into the header, without any scrolling affect.
Could you please help ?