Forums › Forums › Search & Filter Pro › Create horizontal list of checkboxes
Tagged: horizontal
- This topic has 5 replies, 2 voices, and was last updated 4 years, 5 months ago by Trevor.
-
Anonymous(Private) June 12, 2020 at 4:20 pm #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
MaryAnonymous(Private) June 15, 2020 at 11:24 am #248740Thank 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 -
AuthorPosts