Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Show category in result title › Reply To: Show category in result title
August 21, 2017 at 11:08 am
#14395
Hi!
1. Coloring select items might not be supported within all browsers, but you could try the following:
To color parent items:
select .asp_option_cat_level-1 {
color: red !important;
}
To color child (sub) items:
select .asp_option_cat_level-1 {
color: blue !important;
}
2. Unfortunately as far as I know this is impossible, as it is browser specific, please see: https://stackoverflow.com/questions/570642/height-of-an-html-select-box-dropdown/570651#570651
I don’t think there is a workaround 🙁
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)