Reply To: Accordian Display Issue

Home Forums WordPress Themes – Premium Lavish Pro Accordian Display Issue Reply To: Accordian Display Issue

#16852
Sushil Adhikari
Moderator

Go to following directory: theme-folder->wp-content->themes->lavish-pro->js->lavish_extras.js.
In lavish_extras.js you will find following code where you need to add your accordion inside js selector.

$( "#lavish_accordion1" ).accordion({
      collapsible: true,
      active: false,
      heightStyle: "content"
    });

and finally your code should look like:

$( "#lavish_accordion1", "#lavish_accordion1","#lavish_accordion2","#lavish_accordion3","#lavish_accordion4").accordion({
      collapsible: true,
      active: false,
      heightStyle: "content"
    });

Note: please use child theme to add this customization, so your changes will not lost on theme update.

thanks