First product category is expanded, can it not be?

This topic has 5 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Robert Hall

  • Avatar: rwlee33
    rwlee33
    Participant
    August 24, 2014 at 13:07

    Hi, as the title says. The first product category in the sidebar is expanded when the shop page is opened. Is there a way to ensure that it is not expanded? So that all categories are collapsed when the shop page is opened?

    Thanks,
    Rob

    http://www.designbykathryn.com

    4 Answers
    Avatar: rwlee33
    rwlee33
    Participant
    August 24, 2014 at 23:38

    getting notifications…sorry, I always forget to do this

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 25, 2014 at 10:54

    Hello,

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

    Regards,
    Robert Hall.

    Avatar: rwlee33
    rwlee33
    Participant
    August 26, 2014 at 02:37

    Thanks, this worked great

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 26, 2014 at 06:04

    Hello,

    We’re glad to hear it.
    If you have any questions feel free to contact us.

    Regards,
    Robert Hall.

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

You must be logged in to reply to this topic.Log in/Sign up

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