Forums › Forums › Search & Filter Pro › Another make-the-boxes-horizontal question
- This topic has 10 replies, 2 voices, and was last updated 5 years ago by Trevor.
-
Anonymous(Private) October 27, 2019 at 11:50 pm #224735
I have a form for which I would like to make the checkboxes show up horizontally rather than vertically. I attempted to use CSS code that I saw in other posts, but it is not having the desired effect. Can you tell me how to do this for a form with id=”123″?
Thanks!
Anonymous(Private) October 28, 2019 at 1:03 pm #224775That is what I tried. Here is a link to the page where you can see them appearing vertically: http://dev.bearcreations.org/recognition/ (I have the control twice temporarily – the first one is in a full-width block just to ensure that the verticality is not a result of space limitation.)
Thanks for any help you can provide.
Trevor(Private) October 29, 2019 at 2:00 pm #224978Ah. It is not form fields that you want to make horizontal, as you have only one field. You want to make the terms run horizontally within the category field.
You may need to remove what you had used, and use this:
.searchandfilter .sf-field-category > ul > li { display: inline-block; margin-right: 20px; } .searchandfilter ul { margin: 0; }
-
AuthorPosts