Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Styling hierarchical taxonomy filter › Reply To: Styling hierarchical taxonomy filter
October 28, 2025 at 10:19 am
#55877
Keymaster
Hi,
Sure!
You have two options, one is to use this selector for each level:
.asp_ss .asp_option_cat_level-1 {}
Or via a data attribute selector:
.asp_ss div[data-lvl="1"] {}
So for example, if you want to add 30px of margin-left to level 3 taxonomy terms, then either:
.asp_ss .asp_option_cat_level-3 {
margin-left: 30px !important;
}
..or:
.asp_ss div[data-lvl="3"] {
margin-left: 30px !important;
}