BalletReign Posted November 26, 2022 Share Posted November 26, 2022 Hi folks. I have a form that has some radio buttons and some checkboxes. By default, each radio button and checkbox option appears in its own line. Is there a way to make only the radio buttons appear inline (in the same line) while leaving the checkboxes in their own separate lines? I was able to find the following code, but this affects both radio buttons and checkboxes and makes them all appear inline. /* When viewport is 1088 pixels minimum */ @media only screen and (min-width: 1088px) { .form-wrapper .field-list .field .option { /* Show radio buttons side-by-side */ display: inline; margin-right: 5px; } } Thank you. Link to comment
Beyondspace Posted November 26, 2022 Share Posted November 26, 2022 2 hours ago, BalletReign said: Hi folks. I have a form that has some radio buttons and some checkboxes. By default, each radio button and checkbox option appears in its own line. Is there a way to make only the radio buttons appear inline (in the same line) while leaving the checkboxes in their own separate lines? I was able to find the following code, but this affects both radio buttons and checkboxes and makes them all appear inline. /* When viewport is 1088 pixels minimum */ @media only screen and (min-width: 1088px) { .form-wrapper .field-list .field .option { /* Show radio buttons side-by-side */ display: inline; margin-right: 5px; } } Thank you. Can you share your URL to this page so I can take a look? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment