Accordion slider – open an image by default

Please Note: Theme customizations go beyond the scope of our support services and this article is provided solely as a courtesy to our customers. Please take a moment to review the Scope of our Support.


Is it possible to make the accordion slider open the an image by default when it is initially loaded?

Original poster


You have to open the script/accordion-slider.js file and add the following line:


after line 51:


The 0 value sets the index of the slide image to be opened by default – in this case it will open the first image. To set the third image, for example, you have to set index 2.


Was this useful? 0