I’m trying to account for the header on my page that I’ve fixed to the top with this solution. When the user clicks a button to scroll to an anchor link in a section further down,
I’d like to offset for the header’s hight but I think I’m implementing the CSS wrong.
Code In Section That I’d like to so scroll to.
...
CSS Stylesheet:
a.weDoAnchor{
padding-top: 73px;
}
I’d love to see what I’m doing wrong here. I’m fairly new at web-dev