title: Is there a way to nest panels within panels in Bootstrap?
body: <p>I have a sidebar where there are 3 levels of navigation, the main navigation pages that you see on arrival, then when you click those the panels open to reveal more navigation.. and then one more level that appears when those links are clicked. Anyone know how I would do this? I tried making them panels within panels but everytime I go to open the secondary navigation within the main navigation it closes the main panel, then if you open the main panel up again its showing the 3rd navigation panel. I want to be able to see all 3 open at once and click open and close as you please. I've included an picture if what i'm trying to achieve and my code.</p>
  
  <p><img src="https://i.stack.imgur.com/lwWfy.png" alt="enter image description here"></p>
  
  <pre><code>&lt;div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"&gt;
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingOne"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"&gt;
            Business Development
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
          &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;
  &lt;div class="panel-heading" role="tab" id="headingSeven"&gt;
  &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseSeven" aria-expanded="false" aria-controls="collapseSeven"&gt;Link 1&lt;/a&gt;&lt;/div&gt;
  &lt;div id="collapseSeven" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSeven"&gt;
        &lt;div class="panel-body"&gt;
      &lt;ul&gt;
          &lt;li&gt;List a&lt;/li&gt;
          &lt;li&gt;List b&lt;/li&gt;
          &lt;li&gt;List c&lt;/li&gt;
      &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href="#"&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingTwo"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"&gt;
          Proposals &amp; Web Inquiries
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
         &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingThree"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"&gt;
            Sold Systems
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
         &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingThree"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour"&gt;
            Marketing
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
         &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingThree"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseFive" aria-expanded="false" aria-controls="collapseFive"&gt;
            Reports
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseFive" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFive" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
         &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
    &lt;div class="panel panel-default"&gt;
      &lt;div class="panel-heading" role="tab" id="headingThree"&gt;
        &lt;h4 class="panel-title"&gt;
          &lt;a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseSix" aria-expanded="false" aria-controls="collapseSix"&gt;
           Admin
          &lt;/a&gt;
        &lt;/h4&gt;
      &lt;/div&gt;
      &lt;div id="collapseSix" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingSix" style="border-bottom: 1px solid #67ab48;"&gt;
        &lt;div class="panel-body"&gt;
         &lt;ul class="list-unstyled"&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;li class="sidebar-links"&gt;&lt;a href=""&gt;Link 1&lt;/a&gt;&lt;br&gt;&lt;/li&gt;
  &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  
  &lt;/div&gt;
  
          &lt;/div&gt;
  </code></pre>