You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I press any of the titles inside the sidebar table of contents, the page scrolls past the title, or more realistically the masthead covers the header title.
The "fix" you already have in place doesn't work, which is this:
h1, h2, h3, h4, h5, h6 {
scroll-margin-top: 5em; // This means it will skip the header
Of course we can't just use the hardcoded 75px value, although it works nice for me. I'm trying to figure out how to use the masthead height instead, but I'm not sure how to do so. Please let me know if you figure it out :)
The text was updated successfully, but these errors were encountered:
Hey Ben, long time no see!
When I press any of the titles inside the sidebar table of contents, the page scrolls past the title, or more realistically the masthead covers the header title.
The "fix" you already have in place doesn't work, which is this:
I found the real fix here.
Of course we can't just use the hardcoded 75px value, although it works nice for me. I'm trying to figure out how to use the masthead height instead, but I'm not sure how to do so. Please let me know if you figure it out :)
The text was updated successfully, but these errors were encountered: