This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Styling hierarchical taxonomy filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Styling hierarchical taxonomy filter Reply To: Styling hierarchical taxonomy filter

#55877
Ernest MarcinkoErnest Marcinko
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;
}