Make the categories widget closed on page load

Solved1 reply2 participantsUpdated by Brian Johnson

  • Avatar: additive01
    additive01
    Participant

    hello,

    The first category link in the categories widget displays as open on page load. How do I change this so that all category links and child links display closed / collapsed on page load please?

    Thanks!

    Blair

    1 Answer

    Avatar: Brian Johnson
    Brian Johnson
    Member

    Hello

    You may open wp-content/themes/idstore/js/script.js in text editor. Find the code jQuery('.categories-group.has-subnav:first').addClass('opened').find('ul').show(); (line 307) and comment it.

    With best regards
    Brian Johnson

The issue related to '‘Make the categories widget closed on page load’' has been successfully resolved, and the topic is now closed for further responses