Changing the parameter name to style_nav_header_background

Also making it to modify the background css property instead of
background-color

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
This commit is contained in:
Gergely Csatari 2018-12-19 16:59:45 +01:00
parent 3af8d2f664
commit 476dec4422
2 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@
{# SIDE NAV, TOGGLES ON MOBILE #} {# SIDE NAV, TOGGLES ON MOBILE #}
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> <nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll"> <div class="wy-side-scroll">
<div class="wy-side-nav-search" {% if theme_nav_header_background_color %} style="background-color: {{theme_nav_header_background_color}}" {% endif %}> <div class="wy-side-nav-search" {% if theme_style_nav_header_background %} style="background: {{theme_style_nav_header_background}}" {% endif %}>
{% block sidebartitle %} {% block sidebartitle %}
{% if logo and theme_logo_only %} {% if logo and theme_logo_only %}

View File

@ -10,9 +10,9 @@ collapse_navigation = True
sticky_navigation = True sticky_navigation = True
navigation_depth = 4 navigation_depth = 4
includehidden = True includehidden = True
nav_header_background_color =
titles_only = titles_only =
logo_only = logo_only =
display_version = True display_version = True
prev_next_buttons_location = bottom prev_next_buttons_location = bottom
style_external_links = False style_external_links = False
style_nav_header_background =