Support ForumAccordion doesn't close when clicked on current section – Support Forum https://support.ishyoboy.com/forums/topic/accordion-doesnt-close-when-clicked-on-current-section/feed/ Mon, 23 Nov 2026 14:48:45 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/accordion-doesnt-close-when-clicked-on-current-section/#post-2871 <![CDATA[Accordion doesn't close when clicked on current section]]> https://support.ishyoboy.com/forums/topic/accordion-doesnt-close-when-clicked-on-current-section/#post-2871 Fri, 20 Jun 2014 05:45:45 +0000 karanskumar HI,

I am using accordion to display some content. My client says when we click on the current active section the content box must be hidden rather than clicking on next/previous accordion.

I know its possible using toggle. But the issue with toggle is it opens whatever tab is clicked on and doesn’t close the other tabs..

So what i need in accordion is, when someone click on the current section, it must close the content box and also if they click on other section. is this possible..?

]]>
https://support.ishyoboy.com/forums/topic/accordion-doesnt-close-when-clicked-on-current-section/#post-2874 <![CDATA[Reply To: Accordion doesn't close when clicked on current section]]> https://support.ishyoboy.com/forums/topic/accordion-doesnt-close-when-clicked-on-current-section/#post-2874 Fri, 20 Jun 2014 09:01:35 +0000 IshYoBoy Hi karanskumar,

the functionality which you described is not the default one. It’s basically combination of accordion & toggle. There is need to be JavaScript change made to achieve this functionality.

You can find accordion and toggle JS code in “Themefolder/assets/html/core/libs/js/main.js” starting from line nr. 659.

The accordion functionality is defined on the line nr. 680 and toggle on the line nr. 695. it’s needed to change these.

If you would like us to make these changes please send us email. We have flat rate for these kind of customizations.

Please let us know
Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>