Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll to active item in sidebar on load #214

lazka opened this issue Jul 15, 2015 · 2 comments


None yet
2 participants
Copy link

commented Jul 15, 2015

As an example:

It would be nice if the sidebar item I have just clicked on would still be in view on my small screen after the page is loaded. Maybe scroll to the active item in the sidebar on load with some javascript?


This comment has been minimized.

Copy link

commented Jul 21, 2015

We have plans to improve this more on a future release. It currently has some ability to scroll to the correct element, but there should be better focusing on the nav element when items are clicked, or entering a page like this.

@agjohnson agjohnson added this to the v0.1.10 milestone Jul 21, 2015

@agjohnson agjohnson modified the milestones: v0.3.0, v0.4.0 Mar 29, 2018

@agjohnson agjohnson modified the milestones: v0.4.0, 0.5 Jun 7, 2018


This comment has been minimized.

Copy link

commented Sep 17, 2018

Looks like the feature that does exist might have regressed in addition. Clicking on a menu item, even L1, doesn't auto scroll the menu down now.

Ref readthedocs/

jessetan added a commit that referenced this issue Oct 17, 2018

@Blendify Blendify closed this in #688 Dec 5, 2018

Blendify added a commit that referenced this issue Dec 5, 2018

Odyseus added a commit to Odyseus/sphinx_rtd_theme_mod that referenced this issue Feb 19, 2019

Synced with sphinx-rtd-theme v0.4.3
- Fixed scrolling to active item in sidebar on load. (readthedocs/sphinx_rtd_theme#214)
- Style caption link for code and literal blocks.
- Fixed inconsistent font size and line height for autodoc "raises" and "returns". (readthedocs/sphinx_rtd_theme#267)
- Fixed last_updated notice appearing in same line as copyright notice. (#704)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.