I am working on a single page site that has a nav bar. When a nav icon is clicked, the view appropriately goes to the target location. However, the nav bar covers part of the desired section. So the goal is to change the target location of the hyperlink. For example, maybe to change it so that it is consistently 20px higher than usual. Is there a way to change the location that an <a>
tag will take you?
Edit: I have recently found the answer to my question elsewhere. I will be marking this as a duplicate. I think I didn't find it before because I didn't know what words to use to describe my problem.