Forums Forums Search & Filter Pro How to make checkbox arranged horizontally?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #252518

    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

    Trevor
    #252582

    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;
    }
Viewing 2 posts - 1 through 2 (of 2 total)