I have some anchor links in my One-Page Website, and I have a problem with only one of them.
The section is inside a div where I have a title and a button.
When I click the anchor link it jumps too far, specifically to the button (under the title) and not to the head of the section (before the title).
Anchor link: (The issue is with the 4th link "#solution"
)
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right scroll">
<li class="active"><a href="#home">Home</a></li>
<li ><a href="#about">About</a></li>
<li ><a href="#works">Media</a></li>
<li ><a href="#solutions">Solutions</a></li>
<li ><a href="#partners">Partners</a></li>
<li ><a href="#contact">Contact</a></li>
</ul>
</div>
The section code:
<div id="solutions">
<h2 class="text-center wowload fadeInUp">solutions bla bla bla</h2>
<button onclick="window.location.href='pages/solutions.html'" class="blue_button">Button</button>
</div>