Forums Forums Search & Filter Pro Checkboxes not losing "active" class after pressing twice.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #162157

    Hi!

    I have a problem on the site here with your plugin: http://zte5tjr5uu9a278j.prev.site/tips-inspirasjon/

    If I press the checkbox category name “Tips” twice it resets the filter, but since we have styled the buttons based on “active” it doesn’t reset the color.

    Any idea how to solve this?

    Trevor
    #162180

    You will need remove the styling you have and add styling with something like this:

    .sf-input-checkbox:checked + .sf-label-checkbox {
        font-style: italic;
    }

    For example, when the checkbox is checked, the font would be italic. Style everything with this. Do the base stuff (border, shape, etc) without the :checked part.

    Anonymous
    #162332

    Thank you Trevor, you saved my day!

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