Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1188960

    Hello,

    I have created a test FAQ page using the accordion, but despite changing all settings to try and fix it, the accordion displays all questions and their answers and will not collapse.

    Any suggestions?

    Staging site login credentials added below.

    Many thanks,
    Graham

    #1189160

    Hey Graham,

    There is a login prompt before being able to see the login page, could you include those details in private as well please?

    Best regards,
    Rikard

    #1189357

    Thank you Rikard,

    Login credentials shared below.

    Many thanks,
    Graham

    #1190823

    Hi,

    Thank you for the update.

    It was an issue with the merged file which probably contained the old scripts. We disabled the Enfold > Performance > File Compression settings temporarily and this fixed the issue with the toggles. You can turn it back on if necessary.

    Best regards,
    Ismael

    #1190956

    Thank you Ismael,
    The accordion now works (with your having disabled both CSS & Javascript compression), but this seems like a bandaid that is not really addressing the underlying issue. :(
    I have retested and the accordion still works with only the Javascript disabled.
    I have also retested with only the CSS disabled, and the accordion does not work.
    My gut instinct is to remove the accordion altogether and keep compression enabled site wide on both CSS and Javascript, but perhaps you can shed some more light on this (especially regarding how the site’s performance may be effected with Javascript disabled permanently) or offer a better workaround…?
    Many thanks in anticipation,
    Graham

    #1191488

    Hi,

    Thank you for following up.

    We tried to reproduce the issue on our end, but the Accordion element works fine with or without the JS compression, so this is something unique in your installation. Unfortunately, there are no errors generated in the browser console, so it’s a bit difficult to know where to start looking.

    To fix the issue and still have the files compressed or minified, we disabled the theme’s compression settings and activated the Autoptimize plugin instead. It’s exactly the same as having the theme’s compression option enabled with additional options.

    Best regards,
    Ismael

    #1200290

    Thank you Ishmael,
    The accordion is now working, so you can close this thread.
    Best wishes,
    Graham

    #1200435

    Hi,

    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Accordion Element: All toggles display OPEN and do not close when clicked’ is closed to new replies.