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
Hi,
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.
https://prnt.sc/jlxtlb
Hope that'll solve your issue.

-Thanks


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
Sifat

Sifat

Total Accepted Answers: 63
Toufiq

Toufiq

Total Accepted Answers: 60
Mehtaz Afsana

Mehtaz Afsana

Total Accepted Answers: 13
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 11

118

Templates

302822

Community Users

Newsletter

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. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us