Skip to content

Commit

Permalink
Merge pull request #124 from GSA/wwang-sidenav
Browse files Browse the repository at this point in the history
update side nav header level to resolve issue #123
  • Loading branch information
weiwang-gsa authored Mar 28, 2023
2 parents 83f8655 + 2cb6d06 commit 8c81660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/components/childsidenav.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- navigation style matching with home page
<div class="border-top-1 border-accent-cool-darker padding-top-2 margin-bottom-4 usa-prose">
<h3 class="padding-bottom-1">SmartTax</h3>
<h2 class="padding-bottom-1">SmartTax</h2>
<ul class="usa-list--unstyled">
{%- for page in collections.smarttax | sort(attribute='data.sortorder') %}
<li class="padding-bottom-2"><a href="{{ page.url }}">{{ page.data.title }}</a></li>
Expand All @@ -13,7 +13,7 @@
{% for menu in site.side_navs %}
{% if menu.name == sidenav %}
{% set sideNavItems = menu.children %}
<h3 class="padding-bottom-1"><a href={{menu.parent_url | url }} style=" text-decoration: none; color: #505050;"> {{menu.header_text}} </a></h3>
<h2 class="padding-bottom-1"><a href={{menu.parent_url | url }} style=" text-decoration: none; color: #505050;"> {{menu.header_text}} </a></h2>
<ul class="usa-sidenav">
{% for item in sideNavItems %}
<li class="usa-sidenav__item"><a href="{{ item.url | url }}" {% if page.url == item.url %} class="usa-current" {% endif %} >{{item.text}}</a></li>
Expand Down

0 comments on commit 8c81660

Please sign in to comment.