Create horizontal list of checkboxes

Forums › Forums › Search & Filter Pro › Create horizontal list of checkboxes

Tagged: 

Viewing 6 posts – 1 through 6 (of 6 total)
  • Anonymous
    #248654

    Hi, I would like my filters and checkboxes to be horizontal across the page.
    I have tried the following css:
    .searchandfilter > ul > li {
    display: inline-block;
    vertical-align: top;
    padding: 0 20px;
    }

    This moves the filters side by side however the checkboxes are still vertical.
    I would like the checkboxes to be horizontal (next to each other).
    This is my page:
    https://www.redelephantreps.com/hotels-portfolio-test/

    Also, the page ‘jumps’ slightly when using the filter. Is there a way to stop this?

    Many thanks
    Mary

    Trevor
    #248735

    Could you try something like this:

    .searchandfilter > ul > li > ul > li {
      display: inline-block;
      margin-right: 15px;
    }
    Anonymous
    #248740

    Thank you, the code has worked and the filters are now across the page!

    However the page jumps and moves down when I use the filter:
    https://www.redelephantreps.com/hotels-portfolio-test/

    Do you know how to stop that happening.

    Thanks in advance,
    Mary

    Trevor
    #248754

    It may be this setting:

    https://www.screencast.com/t/ZKIhv4AmRGp

    Try changing what you have there?

    Anonymous
    #248759

    Yes that has worked, it’s not jumping now.
    Thank you so much – I really appreciate your help.

    Trevor
    #248778

    Thanks for letting me know. I will close this thread for now.

Viewing 6 posts – 1 through 6 (of 6 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.