Home Forums WoodMart support forum Hiding filters count

Hiding filters count

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #414569

    henalon123
    Participant

    Hi there, we have 2 issues need to be fixed :
    1. in the filters widget, how we can hide the counters of all the filters ? FILTER BY BRAND, FILTER BY RATING, FILTER BY SIZE.
    we attached a screenshot.
    We need to remove the counters completely and we couldnt find an option for that in woodmart settings.

    2. How we can change the “Show sidebar” button name ? instead we want it to show “Show Filters”, we attached a screenshot for that as well.

    Waiting for your response,
    Best regards.

    #414681

    Hello,

    1- To hide the counts for the Filters, please use the below custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section:

    .wd-filter-list .count {
        display: none !important;
    }

    2- Secondly, sorry to say but there isn’t an option available under the Theme to change the mentioned text. So, you can either use the Translation plugin like Loco Translate (https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/) on your Site and change the Text from there. But if you don’t want to use the Translation plugin then you would need to go to Theme files to change that text because it is by default added there. But remember to add this change under the Child Theme on your Site because if you did this under the Parent Theme then the change would wipe out when the Theme gets updated.

    So, here is the Theme file location that you need to go:

    wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php

    In this above Theme file, on Line Number 597 you will see the Text ‘Show sidebar’ added there. You just need to change those words there, nothing else and the text will get changed accordingly.

    Best Regards.

Viewing 2 posts - 1 through 2 (of 2 total)