• Resolved peter8nss

    (@peter8nss)


    I have FAQ A which contains a shortcode to display all FAQs from group A, say A1, A2 and A3. FAQ A1 has a shortcode to display all FAQs from group B, say B1, B2, B3. When I click on the plus sign next to A1, I would like it to open FAQ A1 but with B1, B2 and B3 closed up. Instead, it opens A1 AND B1, B2 and B3. It (correctly) changes the sign next to A1 to minus but leaves the signs next to B1, B2 and B3 as plus – despite them now being open.

    I think the problem is in frontend/js/scripts.js where:

    parent_toggle.addClass(‘active’).find(‘.qe-toggle-content’).slideDown(‘fast’);

    Should be:

    parent_toggle.addClass(‘active’).children(‘.qe-toggle-content’).slideDown(‘fast’);

    To stop it traversing down to the next level FAQs when opening.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Usman Ali Qureshi

    (@usmanaliqureshi)

    Hi,

    We appreciate you contacting us and letting us know how you experienced and fixed the problem.

    Could you please share the URL of the page where you have these FAQs A and FAQs B displayed?

    Thanks

    Thread Starter peter8nss

    (@peter8nss)

    Look at https://new.8nss.org.uk/programme/ which contains “[faqs filter=”programme” style=toggle order=asc]” (group A). If you click on “Weekly Meetings” it conatins “[faqs filter=”meeting-time-group” style=toggle order=asc]” nested FAQ (group B). But please note the fix I suggested is in place on that site.

    Plugin Author Usman Ali Qureshi

    (@usmanaliqureshi)

    Hi,

    Thanks for sharing the URL, we will update the code for nested FAQs and release an update.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nested FAQs opening wrongly’ is closed to new replies.