09/17/2014 at 4:14 pm
#304410
Participant
Thanks for the direction. I wrestled with that code for a while before I realized the #cn-form referenced in that link needed to be .chosen-results for what I was working on…
I’m not going to profess to understand how I made this work, but
.chosen-results li.active-result:nth-child(n+11):nth-child(-n+12) {
display: none !important;
}
works fine if I have consecutive numbers to be removed.
But if I wanted two non-consecutive numbers, I finally got this to work:
.chosen-results li.active-result:nth-child(n+3):nth-child(-n+3) {display: none !important;}
.chosen-results li.active-result:nth-child(n+8):nth-child(-n+8) {display: none !important;}
anyway, not sure how, but I’ll take it.
If you have a better way to do the above, please let me know.
Thanks for pointing me in a direction. I’m looking forward to the updated Widget Pack (and Locate, too) :).
Have a great day.