Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

short code for accordion

Featured Lock Resolved Issue
How can I default to close the accordion shortcode?

1 Answers

Sifat - Staff

More than a month ago #Permalink
Please use this line of code instead of the marked one
location: plugins/system/helix/shortcodes/accordion.php

Replace this line:

$html .= '<div id="'.Helix::slug($accordion['title']).'" class="accordion-body collapse' . ( ($key==0) ? " in" : "") . '">';

With this line:

$html .= '<div id="'.Helix::slug($accordion['title']).'" class="accordion-body collapse' . '">';

After successful replacement it'll look like this.
Hope that'll solve your issue.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 119


Total Accepted Answers: 63


Total Accepted Answers: 60
Mehtaz Afsana

Mehtaz Afsana

Total Accepted Answers: 13
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 11




Community Users


Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us