AnsweredAssumed Answered

Changing the color of an accordian

Question asked by Kate Miller on Jan 13, 2017
Latest reply on Jul 18, 2018 by rogrant@nmsu.edu

Does anyone know if you can change the color of an accordion? I have this code (see below) and it looks great, but if I wanted to change the color of the boxes that house the accordion, how would I do that?

 

<div class="enhanceable_content accordion">

  <h3><a href="#">Section 1</a></h3>

  <div style="padding: 15px;">

      <p>Section 1 Content</p>

  </div>

  <h3><a href="#">Section 2</a></h3>

  <div style="padding: 15px;">

      <p>Section 2 Content</p>

  </div>

  <h3><a href="#">Section 3</a></h3>

  <div style="padding: 15px;">

      <p>Section 3 Content</p>

      <ul>

          <li>List item one</li>

          <li>List item two</li>

          <li>List item three</li>

      </ul>

  </div>

</div>

 

Outcomes