Visual Composer Product Category menu - by forbesindustries

This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago ago by Eva Kemp

  • Avatar: xoxfxjx
    forbesindustries
    Participant
    September 21, 2016 at 22:34

    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.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 22, 2016 at 06:11

    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.

    Avatar: xoxfxjx
    forbesindustries
    Participant
    September 23, 2016 at 16:13

    works perfectly. thanks, Eva!

    Avatar: Eva
    Eva Kemp
    Support staff
    September 23, 2016 at 18:47

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Visual Composer Product Category menu’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.