- This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Checkboxes not losing "active" class after pressing twice.
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?
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.