title: How do I change the background-color of an accordion tab in Bootstrap?
body: <p><a href="https://i.stack.imgur.com/c21z2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/c21z2.png" alt="enter image description here"></a></p>
  
  <p>I am trying to change the background color of the tabs on my accordion. When I change the background color in CSS, it just changes the color behind the text and not the entire thing.</p>
  
  <p>Here is a segment of my code:</p>
  
  <pre><code>&lt;div class="panel-group" id="accordion"&gt;
      &lt;div class="panel panel-default"&gt;
          &lt;div class="panel-heading"&gt;
          &lt;h4 class="panel-title"&gt;
              &lt;a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"&gt;
        Collapsible Group Item #1
              &lt;/a&gt;
          &lt;/h4&gt;
          &lt;/div&gt;
          &lt;div id="collapseOne" class="panel-collapse collapse in"&gt;
          &lt;div class="panel-body"&gt;
              Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
      &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>