Sidebar Navigation - by kfiagbedzi - on WordPress WooCommerce support

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

  • Avatar: kfiagbedzi
    kfiagbedzi
    Participant
    October 19, 2015 at 17:20

    Hello, the sidebar navigation on my homepaage is always open. Specifically the first item, Baby is always expanded. How can I set it so it is not always expanded by default? Thank you.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 19, 2015 at 17:30

    Hello,

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

    Regards,
    Eva Kemp.

    Avatar: kfiagbedzi
    kfiagbedzi
    Participant
    October 19, 2015 at 20:10

    Thank you! That worked perfectly!

    Avatar: Eva
    Eva Kemp
    Support staff
    October 19, 2015 at 20:33

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Sidebar Navigation’' has been successfully resolved, and the topic is now closed for further responses

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