Jump to content

Multiple Radio Buttons per line (not a question)

Recommended Posts

I don't think I see any posts about this so I am sharing this CSS  code that I found to display a specific number of radio buttons on the same line and then have the other excess buttons under. The only options in the datapage wizard is basically "display it vertically or horizontally" and it doesn't really look that good when you have a ton of options.

Add this to your Header block. You can change "3" to any number and your buttons will follow that pattern.

.cbFormData label:nth-of-type(3n)::after{
content: "\a";
white-space: pre;

It will look something like this:

Hope this helps, lads!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...