PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

multi-column checkboxes

  1. I'm creating a form that uses checkboxes. It has 72 checkboxes so I would like to display it as 3 columns instead of one. Is there a simple way to do this?

    thanks.

    Posted 14 years ago on Saturday May 29, 2010 | Permalink
  2. Yep, with a short line of custom CSS it will work.

    You'll want to append something like this to the end of your theme's style sheet.

    ul#input_1_5.gfield_checkbox li {width:25%; float:left; height:25px;}

    Just view your form source, and get the ID from the UL containing the checkboxes and replace the "input_1_5" above with your ID. You can tweak the values to whatever looks best for your form.

    My Test - Screenshot

    Good luck.

    Posted 14 years ago on Saturday May 29, 2010 | Permalink
  3. Thanks that worked perfectly. Thanks so much!

    Posted 14 years ago on Saturday May 29, 2010 | Permalink

This topic has been resolved and has been closed to new replies.