Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Need help create filters for custom post › Reply To: Need help create filters for custom post
February 26, 2025 at 4:03 pm
#53112
Keymaster
The stylings follow the theme, as drop-down boxes are very hard to style.
The most common issue is when the theme overrides the checkbox styles. I can suggest some custom styles to get close to that layout, but since this is not part of regular support, I can’t guarantee anything. This should get you very close to that:
Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.
.asp_ss {
background: hsl(0deg 0% 93.33%) !important;
margin-top: 24px !important;
padding: 12px !important;
border-radius: 8px !important;
}
.asp_ss select.asp_nochosen.asp_noselect2 {
appearance: menulist;
background-image: unset;
border-radius: 3px;
border: unset !important;
}
.asp_ss .asp_select_label {
padding-left: 0 !important;
}
div.asp_w.asp_sb.searchsettings input[type='text']:not(.asp_select2-search__field).asp-number-range {
padding: 2px 8px !important;
}
div.asp_w.asp_sb.searchsettings input[type='text']:not(.asp_select2-search__field).asp-number-range:last-child {
margin-right: 12px !important;
}
.asp_ss .asp_sr_btn_flex {
margin-top: 22px !important;
}