• Resolved tcs11

    (@tcs11)


    Hi thanks for the awesome plugin! I have a question is there a way we can toggle all to open on desktop and collapse all on mobile devices?
    Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Feliciotti

    (@someguy9)

    Hey @tcs11, currently we do not support that to keep the plugin as lightweight as possible (but looking into it!) just to be clear do you want a button that lets you collapse/open all at once?

    Thread Starter tcs11

    (@tcs11)

    Hi Andy, you’re awesome! So far i had posted the same question on few plugins with accordion features, including the one i am using. But none had gotten anyone to attend to my question yet.
    I want it to closed all when users in mobile devices to keep it tidy, and expand all if non mobiles.

    I manage to get it works by adding few lines of snippets codes using window.matchMedia and:
    detail.removeAttribute(“open”);
    else,
    detail.setAttribute(“open”, “true”);

    Hope it does help you in corporate it into next release!
    I like your plugin very much being super lightweight… now i am changing one by one on my posts from Genesis Blocks to your plugin. Tedious job, but you worth my time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Toggle Open/ Close all on Desktop / Mobile’ is closed to new replies.