Product- categories. do not open on default

This topic has 4 replies, 3 voices, and was last updated 10 years, 8 months ago ago by Olga Barlow

  • Avatar: surmodernite
    surmodernite
    Participant
    April 9, 2014 at 13:24

    Hey,
    I don’t want the product-categories in the sidebar being opened by default. How can I prevent that?

    thanks

    3 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 10, 2014 at 10:19

    Hello, @surmodernite

    You should remove part of script. Navigate to this folder via FTP: wp-content/themes/blanco/js and find file script.js. You should remove next code from this file(it is approximately 276 line):

                if(jQuery('.categories-group.opened').length > 0) {
                    //jQuery('.categories-group.has-subnav').addClass('opened');
                }else{
                    // If doesnt exitst opened point
                    jQuery('.categories-group.has-subnav:first').addClass('opened').find('ul').show();
                }
    Avatar: surmodernite
    surmodernite
    Participant
    April 10, 2014 at 15:14

    thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 19, 2014 at 14:56

    Hello,
    You are welcome!

    Regards,
    Olga Barlow

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

The issue related to '‘Product- categories. do not open on default’' 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.