We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

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!

123

Templates

328239

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