-
-
Notifications
You must be signed in to change notification settings - Fork 136
Add a scroll to top button #876
Copy link
Copy link
Open
Description
Description
Add a scroll-to-top button that appears after scrolling ~300px down the page. Improves navigation on long documentation pages.
Implementation
- Create
_includes/scroll_to_top.htmlcomponent (HTML/CSS/JS in one file) - Add
{% include scroll_to_top.html %}todefault.htmlandlanding_page.html - Button appears bottom-right, fades in/out based on scroll position
- Responsive across all screen sizes
Benefits
- Reduces navigation time on long pages
- Smooth scroll-to-top UX
- Self-contained, easy to maintain
Note
- Code work is already done, will raise a PR once PRs are accepted repository wide
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels