This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Eva Kemp
Is it possible to have the homepage load with the Visual Composer “Product Category” menu element closed? As it is, my homepage loads and the Product Category menu element has the first top-level item expanded and it takes up a lot of room. I’d like this all the top-level menu items to be collapsed by default.
Hello,
To close first category, edit wp-content/themes/woopress/js/etheme.js file. Find and comment out line 1819:
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Regards,
Eva Kemp.
works perfectly. thanks, Eva!
Hello,
You’re welcome.
Regards,
Eva Kemp.
Tagged: menu, product category, seo friendly, themes, visual composer, woocommerce, wordpress
The issue related to '‘Visual Composer Product Category menu’' has been successfully resolved, and the topic is now closed for further responses