Product Category Sidebar auto-expand - by tadomaster

This topic has 4 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Stan Russell

  • Avatar: tadomaster
    tadomaster
    Participant
    May 24, 2016 at 17:16

    Hello,

    I’m loving your theme! I’ve encountered a problem with the sidebar menu. It automatically expands the first category to all the subcategories and I would like to have the menu closed.

    Currently its like this: https://gyazo.com/527083b21a447d154e1d101b2b5af939
    I’d like it to be like this by default: https://gyazo.com/576ce71028ae64181f3b70cb32ecc29c

    Thank you for your assistance!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 24, 2016 at 19:48

    Hello,

    To close first category, edit wp-content/themes/woopress/js/etheme.js file. Find and comment out line 1808
    $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();

    Regards,
    Eva Kemp.

    Avatar: tadomaster
    tadomaster
    Participant
    May 24, 2016 at 20:44

    Thank you so much for you assistance! 🙂

    Avatar: stan
    Stan Russell
    Participant
    May 25, 2016 at 07:55

    Hello tadomaster,

    we are happy to help! Have a nice day!

    Regards,
    Stan Russell.

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

The issue related to '‘Product Category Sidebar auto-expand’' has been successfully resolved, and the topic is now closed for further responses

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