- This topic has 3 replies, 2 voices, and was last updated 5 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › How to initialize the filters after filtering?
Tagged: repeated filter, reset button
I am using post grid pro and search and filter pro as per the documentation. When I initialize the page the filter is shown properly. And when I select an option from the filter, the result is shown and the item on the filters count is gone to 0. so i am unable to filter again from the same page without reseting or refreshing the page. how to make the page filterable repeatedly?
Q. Is there any way to deselect the filtered item after showing the result?
A. I am sorry, there is not. It might be possible to run some JavaScript to deselect all options on document ready, but I am not sure how you would do this, nor if it would work (it might trigger the results to reload in full, unfiltered).
What styling do you need to do? Maybe a different color font or background when selected?
This sort of code does something like that:
.sf-input-checkbox:checked + .sf-label-checkbox {
color: green;
}
But you may need to customize that for your needs.