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? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, 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