Skip to content

Fix anchor links obscured by fixed header#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-in-page-links-issue
Draft

Fix anchor links obscured by fixed header#7
Copilot wants to merge 2 commits intomainfrom
copilot/fix-in-page-links-issue

Conversation

Copy link

Copilot AI commented Dec 4, 2025

In-page anchor links scroll to positions where headers are hidden behind the fixed navigation bar.

Changes

  • Added scroll-padding-top: 60px to html element in style.css

This offsets scroll position when navigating to anchors, accounting for the fixed header height.

html {
  scroll-padding-top: 60px;
}

Screenshots

Headers now remain visible when clicking anchor links:

Section header visible below fixed nav

Original prompt

This section details on the original issue you should resolve

<issue_title>In-page links jump to just below headers</issue_title>
<issue_description>Or rather, the text header is obscured by the page header menu.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: AABoyles <351239+AABoyles@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix in-page links obscured by page header menu Fix anchor links obscured by fixed header Dec 4, 2025
Copilot AI requested a review from AABoyles December 4, 2025 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-page links jump to just below headers

2 participants