How do I close the first dropdown in WooCommerce Product Categories widget?

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

  • Avatar: zhifi
    zhifi
    Participant
    August 12, 2015 at 21:28

    Hi,

    How do I close the first dropdown in WooCommerce Product Categories widget? I included the link to the website in private content.

    Its a kids store. You will see that the first product category is an activated dropdown. Would like to have it closed.

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    August 12, 2015 at 21:32

    Hello,

    You can close the first category by editing wp-content/themes/woopress/js/etheme.js file. Find and comment out line 1718
    $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();

    Regards,
    Robert Hall.

    Avatar: zhifi
    zhifi
    Participant
    August 12, 2015 at 21:54

    Thank you

    Avatar: Eva
    Eva Kemp
    Participant
    August 13, 2015 at 11:42

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘How do I close the first dropdown in WooCommerce Product Categories widget?’' 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.