- This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › How to make checkbox arranged horizontally?
Dear sir,
I want to have my checkbox to be aligned horizontally while maintaining the parent categories (i.e. colour, shape, dosage forms, etc) in vertical arrangement. How do I make it happen?
This is the filter in my website.
https://medtrait.site/?page_id=2
I am a non-coder and I don’t have any knowledge in html nor css. Do you know where I can learn these CSS scripts which are used specifically for this search and filter plugin? Thank you
This would do as you want, but you will then have issues with children, but you can probably take the idea and extend it:
.searchandfilter ul {
padding-left: 0;
}
.searchandfilter > ul > li[data-sf-field-input-type="checkbox"] > ul > li {
display: inline-block;
margin-right: 20px;
}