Accordion Opening Issues

Hi there,

I’m having some issues with the accordion opening. It worked fine up until recently. But not when I click an accordion element it does not open. I provided a link to the page with the accordion so you can see it for yourself.

The issue occurs with both the new accordion and the classic accordion.

If it’s an issue with caching or minification, could you tell me the path so I can put it in the exclusions?

Otherwise, I’m open to other solutions.

Thank you for your time!

Hello @Thryvewell,

Thanks for asking.

I checked the website and can see that accordion is not working. Please clear and deactivate all caching and optimizer plugins and features your site might have. Please please make sure that auto minify is deactivated in Cloudflare. This article talks about activating auto minify. You just need to do the opposite.

If that’s not working, I suggest you to try testing for plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

https://support.cloudflare.com/hc/en-us/articles/200168196-How-do-I-minify-HTML-CSS-and-JavaScript-to-optimize-my-site-

Let us know how it goes.

Thanks.

I have confirmed that it’s caused by javascript minification. The program I’m using allows me add exceptions if I know the path to the accordion element.

Could you please tell me what the path is for the accordion?
For, example, I excluded /pro/* to eliminate issues with the page builder. I just need to know the path so I don’t have to deactivate javascript minification for the whole site due to one single incompatibility.

Thank you.

Hello There,

The accordion JS script is part of the general JS script of the theme.
You can make use of this path instead:

/wp-content/themes/pro/cornerstone/assets/dist/js/site/cs-body.js
/wp-content/themes/pro/framework/dist/js/site/x.js

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.