This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
Hi
I am experiencing a strange bug in that when I have any accordions on any pages the first accordion always opens on page load. Any idea why this may happen? This is happening for the generated product category accordions as well as any in page accordions I use.
Is this a common issue or do you need me to provide more information?
Thanks
Hello,
To close first category, edit wp-content/themes/woopress/js/etheme.js file. Find and comment out line 1633
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Regards,
Eva Kemp.
Thanks Eva, that worked.
Nick
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Accordion auto opening issue’' has been successfully resolved, and the topic is now closed for further responses