Close Accordions With A Button Style Link or HREF

I used the small convo here in the archives. https://theme.co/archive/forums/topic/close-accordion-button/

I could get it to work. Instead, it keeps making it so none of the accordions on the page open at all. I setup the IDs and tried every way possible. I feel im close. thank you guys again. Love the theme! :heart:

Hi Devon,

Thanks for reaching out!

I just check your website but I couldn’t find any accordion. Would you mind sharing the right page URL and the screenshot of the section?

Thank you.

I removed the custom JS but I provided the link in the secure note. You can add it back to any of the accordions on that page if you need to test something. thank you

Hello Devon,

The JS code will not work on your site because the JS code in this old thread is intended for the classic accordion element. If you want the JS to work, you will have to manually recode it using the new class selector of the new accordion element that you are using on your page. You need to use the Google Chrome Developer Toolbar to check the live HTML code and find which CSS selector you need to use.

Please note that custom coding is already outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third-party developer.

Note: If you are unfamiliar with code and resolving potential conflicts, you may select our One or Care service for further assistance. We are unable to provide support for customizations under our Support Policy.

Thank you for your understanding.

so I setup a care membership. thank you. what do I do now?

Hi Devon,

As soon as you purchase a Care plan, a new section called Care will automatically be added to your dashboard. A prerequisite to managing the plan is to add the website URL that you want to be maintained (see screenshot)

For queries you can contact us using Get In Touch button (see https://theme.co/docs/managing-your-care-plan#how-to-contact)

Hope this helps!

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