Tagged: Enfold accordion
Since updating to Enfold 2.1 the accordion displays all toggles closed. The items that are configured to be initially open are closed but do display a ‘-’ in front of the item name (as opposed to the ‘+’).
Following css code is a quick fix – insert it into the quick css field (Enfold > Styling).
Then open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestoggles.php and replace
$contentClass = "activeToggle";
$contentClass = "active_tc";
I’ll ask Kriesi to fix it in the next update.
Thanks for getting back to me.
Your solution results in the toggle now staying visible all the time. So when you visit a web page with the accordion and one of the toggles is set to ‘initially be open’ it is now open. But if I open another toggle the initially open toggle will not close any more.
Yes, I found the problem and updated the instructions above. Kriesi obviously renamed the activeToggle class to active_tc and forgot to replace the string in two files. It will be fixed in the next update.
The topic ‘Accordion: since enfold 2.1 update: Accordion Initial Open Item is not working’ is closed to new replies.