This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago ago by Robert Hall
Hi, as the title says. The first product category in the sidebar is expanded when the shop page is opened. Is there a way to ensure that it is not expanded? So that all categories are collapsed when the shop page is opened?
Thanks,
Rob
getting notifications…sorry, I always forget to do this
Hello,
To close first category, edit wp-content/themes/legenda/js/etheme.js file. Find and comment out line 1389
etCats.find(‘>li’).first().find(‘.open-this’).html(minusIcon).parent().addClass(‘opened’).find(‘ul.children’).show();
Regards,
Robert Hall.
Thanks, this worked great
Hello,
We’re glad to hear it.
If you have any questions feel free to contact us.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up