- 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 › change background when checked checkbox.
Hi, thanks for great plugin. I’d like to change background when I checked checkbox.But, I cannot get good results.
Uncheck a checkbox using CSS
.searchandfilter li[data-sf-field-input-type=checkbox] label{
background: #8B4513;
color: white;
height: 50px;
width: 100%;
cursor: pointer;
}
Could you help me?
I think the CSS would be like this:
.searchandfilter input[type=checkbox]:checked + label {
background: #8B4513;
color: white;
height: 50px;
width: 100%;
cursor: pointer;
}
Although you may to fiddle with this to get what you want, as I have not seen your search page to test it on.