diff --git a/sass/_theme_layout.sass b/sass/_theme_layout.sass index 9b4543e4..1ea473d4 100644 --- a/sass/_theme_layout.sass +++ b/sass/_theme_layout.sass @@ -286,6 +286,6 @@ footer .wy-nav-content-wrap margin-left: 0 -.stickynav +nav.stickynav position: fixed top: 0 diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index 7a3a354a..ae3c0466 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -53,6 +53,15 @@ {% endif %} + {# STICKY NAVIGATION #} + {% if theme_sticky_navigation %} + + {% endif %} + {% for cssfile in css_files %} {% endfor %} @@ -94,7 +103,7 @@