Questions about Filters in shop page - by TAT_PM

Solved4 replies3 participantsUpdated by Eva Kemp

  • Avatar: TAT_PM
    TAT_PM
    Participant

    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

    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

    works perfect! 🙂
    thank you, eva

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

The issue related to '‘Questions about Filters in shop page’' has been successfully resolved, and the topic is now closed for further responses