Make the categories widget closed on page load

This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Brian Johnson

  • Avatar: additive01
    additive01
    Participant
    April 29, 2015 at 13:21

    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
    April 29, 2015 at 14:14

    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

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

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

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.