Questions about Filters in shop page - by TAT_PM

This topic has 5 replies, 3 voices, and was last updated 10 years, 7 months ago ago by Eva Kemp

  • Avatar: TAT_PM
    TAT_PM
    Participant
    May 15, 2015 at 11:10

    hello,
    in the sidebar of the shop i use different filters (Categories, filter by color…). i have two questions about those:

    1. by entering the shop, the first category of the category-filter is collapsed (open), so you can see the sub-categories. i would like to have them all closed. how can i achieve this?

    2. behind the criteria of the color-filter is shown how many products are available, that match this special criterion. this number is shown in double brackets, e.g. ((2)) instead of (2). where does that come from/how can i fix this?

    thanks in advance

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    May 15, 2015 at 11:15

    Hello,

    1. 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();

    2. Please add this code in custom.css file:

    .widget_layered_nav ul li .count::before, .widget_layered_nav ul li .count::after {
     display: none !important;
    }

    Regards,
    Eva Kemp.

    Avatar: TAT_PM
    TAT_PM
    Participant
    May 15, 2015 at 11:42

    works perfect! 🙂
    thank you, eva

    Avatar: Robert Hall
    Robert Hall
    Participant
    May 15, 2015 at 11:52

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

    Avatar: Eva
    Eva Kemp
    Participant
    May 15, 2015 at 11:52

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Questions about Filters in shop page’' 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.