• Resolved tsaffeld

    (@tsaffeld)


    Hello

    I noticed that when my webpage first loads the accordion starts off expanded while the page loads and it isn’t until the page finishes loading that they finally collapse… Is it possible to to have the accordion collapsed while the page is loading?

    I am only using it for mobile devices here is a link to the site I am developing
    https://lifestylehomes.staging.wpengine.com

    If you resize your browser window to a mobile device size you will see the accordions…

    Ideally I would like the accordions to always be collapsed unless they are clicked on

    Is there some way to achieve this?

    Please let me know
    Thanks
    Tom

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

    (@philbuchanan)

    I won’t be able to rearchitect the plugin to support that for a few reasons. The primary reason is that if, for whatever reason, the Javascript doesn’t load none of the content will be available to users (since it would be the Javascript that would make the content visible).

    I think the main problem here is that your site is loading very slowly. The page weighs about 47 MB and took nearly 29 seconds to load on my machine. For comparison the BBC homepage is only 2 MB. The plugin doesn’t fully activate until the page has completely loaded in order to support jump links with scrolling to specific accordion items.

    Thread Starter tsaffeld

    (@tsaffeld)

    Ah ok… My post slider was pulling in too many posts(100) so I changed it to pull in less and it works better now

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Keep accordion collapsed when page first loads?’ is closed to new replies.