How to make checkbox arranged horizontally?

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)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.