It’s tough to diagnose without looking at the code. Can you check the HTML output for the accordions and make sure it looks something like what I have below. I need to make sure it’s generating the right nesting of the various div
tags.
<div class="accordion">
<h3 class="accordion-title open">First Accordion</h3>
<div class="accordion-content" style="display: block;">
<p>Accordion 1 content.</p>
</div>
<h3 class="accordion-title">Second Accordion</h3>
<div class="accordion-content" style="display: none;">
<p>Accordion 2 content.</p>
</div>
</div>
Also, could you check near the bottom for a script tag containing something take looks like what I have below. It should be in a script tag just above the accordion.js
file. Just want to make sure it’s passing the right settings along to the JavaScript file.
var accordionSettings = {
"autoClose":"1",
"openFirst":"1",
"openAll":"",
"clickToClose":"1",
"scroll":""
};