My website has a sticky navbar with a dropdown menu that allows users to jump to different sections of the page. However, I've noticed that when I navigate to a new section, the navbar covers part of the content at the top. After inspecting the navbar element, I found that it has a height of 58 pixels including padding. How can I adjust the jump offset by 58 pixels so that the section is aligned perfectly with the sticky navbar and doesn't block any important content?
As shown below on my website:
https://i.sstatic.net/2oF1L.png
When I click on "Education," it cuts off the header text and isn't flush with my navbar
.