Sidebar in search results - by aureliendebord

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

  • Avatar: aureliendebord
    aureliendebord
    Participant
    May 13, 2014 at 14:05

    Hello,

    How can I close the categories of my sidebar in the search results page, and only for this page
    Example here : http://www.jardinhabitatconstruction.com/?s=bois&post_type=product

    By default the first category “jardin” is open. I want to close the categories on the sidebar, because the category which is open by default may be not relevant with the search.

    Thanks for helping.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 14, 2014 at 07:53

    Hello,
    You can make it closed by default for shop page and for search results page, but not for search results page only.
    To close it edit idstore\js\script.js and comment out line 307
    // jQuery('.categories-group.has-subnav:first').addClass('opened').find('ul').show();

    Regards,
    Olga Barlow

    Avatar: aureliendebord
    aureliendebord
    Participant
    May 14, 2014 at 09:07

    Thanks

    Avatar: Eva
    Eva Kemp
    Support staff
    May 14, 2014 at 12:59

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Sidebar in search results’' 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.