Below you will find the styling used by code.gov for sidebars
<nav class="sidebar left">
<ul>
<li class="current">
<a class="current">First Section</a>
<ul>
<li>
<a>Subsection 1</a>
</li>
<li>
<a class="current">Subsection 2</a>
</li>
</ul>
</li>
</ul>
</nav>
If you’d like to add a title, just add a div with class sidebar-title
.
If you'd like to add a title, just add a div with class `sidebar-title`.
<nav class="sidebar">
<div class="sidebar-title">Agencies</div>
<ul>
<li class="current">
<a class="current">Agency for International Development</a>
</li>
<li>
<a>Consumer Financial Protection Bureau</a>
</li>
<li>
<a>Department of Agriculture</a>
</li>
</ul>
</nav>
If you want to add images for a row in the sidebar.