diff --git a/_includes/nav.html b/_includes/nav.html
index d561a42a70b3e473f7ba41283965751423b7917b..eb96e287114e67041de5b942dbc3d63e6fddc9ee 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -10,6 +10,7 @@
             {%- endif -%}
             <a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url %} active{% endif %}">{{ node.title }}</a>
             {%- if node.has_children -%}
+            {%- if page.url == node.url or page.parent == node.title or page.grand_parent == node.title -%}
               {%- assign children_list = site.html_pages | where: "parent", node.title | sort:"nav_order" -%}
               <ul class="navigation-list-child-list ">
                 {%- for child in children_list -%}
@@ -19,6 +20,7 @@
                     {%- endif -%}
                     <a href="{{ child.url | absolute_url }}" class="navigation-list-link{% if page.url == child.url %} active{% endif %}">{{ child.title }}</a>
                     {%- if child.has_children -%}
+                      {%- if page.url == child.url or page.parent == child.title -%}
                         {%- assign grand_children_list = site.html_pages | where: "parent", child.title | sort:"nav_order" -%}
                         <ul class="navigation-list-child-list">
                         {%- for grand_child in grand_children_list -%}
@@ -26,12 +28,14 @@
                             <a href="{{ grand_child.url | absolute_url }}" class="navigation-list-link{% if page.url == grand_child.url %} active{% endif %}">{{ grand_child.title }}</a>
                           </li>
                         {%- endfor -%}
-                      </ul>
+                        </ul>
+                      {%- endif -%}
                     {%- endif -%}
                   </li>
                 {%- endfor -%}
               </ul>
             {%- endif -%}
+            {%- endif -%}
           </li>
         {%- endif -%}
       {%- endunless -%}
diff --git a/docs/grandchildren-test/buttons.md b/docs/grandchildren-test/buttons.md
new file mode 100644
index 0000000000000000000000000000000000000000..96fc21e513da1c6c9d0c816233d953e1bef3c729
--- /dev/null
+++ b/docs/grandchildren-test/buttons.md
@@ -0,0 +1,11 @@
+---
+layout: default
+title: Buttons
+parent: Grandchildren test
+has_children: true
+---
+
+Buttons
+----
+
+Child of [Grandchildren test](..)
diff --git a/docs/grandchildren-test/buttons/grandchild.md b/docs/grandchildren-test/buttons/grandchild.md
new file mode 100644
index 0000000000000000000000000000000000000000..093d200f05ea33ff085b1909fe95bde1f375c96f
--- /dev/null
+++ b/docs/grandchildren-test/buttons/grandchild.md
@@ -0,0 +1,9 @@
+---
+layout: default
+title: Buttons Child Page
+parent: Buttons
+grand_parent: Grandchildren test
+---
+
+Buttons Child Page
+----
diff --git a/docs/grandchildren-test/index.md b/docs/grandchildren-test/index.md
new file mode 100644
index 0000000000000000000000000000000000000000..dd03d588826a4f406a38d9fce0de3571f6227787
--- /dev/null
+++ b/docs/grandchildren-test/index.md
@@ -0,0 +1,12 @@
+---
+layout: default
+title: Grandchildren test
+has_children: true
+nav_order: 8
+---
+
+Grandchildren test
+==================
+
+Has a child [Buttons](buttons)
+and a grandchild [Child of Buttons](buttons/grandchild)
diff --git a/docs/grandchildren-test/labels.md b/docs/grandchildren-test/labels.md
new file mode 100644
index 0000000000000000000000000000000000000000..f4b9ea8feb9f87885df4da6548806232752951c0
--- /dev/null
+++ b/docs/grandchildren-test/labels.md
@@ -0,0 +1,11 @@
+---
+layout: default
+title: Labels
+parent: Grandchildren test
+has_children: true
+---
+
+Labels
+----
+
+Child of Grandchildren test
diff --git a/docs/grandchildren-test/labels/label-grandchild.md b/docs/grandchildren-test/labels/label-grandchild.md
new file mode 100644
index 0000000000000000000000000000000000000000..f6c9550fa9c8ab82f73e0e6a9534dbca3dccda01
--- /dev/null
+++ b/docs/grandchildren-test/labels/label-grandchild.md
@@ -0,0 +1,9 @@
+---
+layout: default
+title: Labels Child Page
+parent: Labels
+grand_parent: Grandchildren test
+---
+
+Labels Child Page
+----