Closed ProgrammingTed closed 6 years ago
I see you're not using the Bootstrap for CF7 format, which means the text for each form element won't be a label. Check the setup guide to see how you can format forms correctly.
To answer your question, if you're using the Bootstrap for CF7 plugin, you'll see the radio buttons are wrapped in a div
element. To show them next to each other, you can add the following CSS to your page.
.wpcf7-radio .radio {
display: inline-block;
}
.wpcf7-radio .radio ~ .radio {
margin-left: 15px; // Some extra space between the options
}
My Contact Form 7 ``
Name [text your-name]
Gender [radio radio-gender default:1 "Male" "Female"]
Worker Qualification* [text* your-HighestEducationLevel]
Address* [text* text-address]
Area Covered* [text* text-areacovered]
[submit "Send"]
Css I add in css stylesheet ``#left { width:47%; float:left; margin-right:6%; }
right {
}
.clearfix:after { content:"\0020"; display:block; height:0; clear:both; visibility:hidden; overflow:hidden; margin-bottom:6px; }
.clearfix{ display:block; }
How to set the radio button option inline??
Gender [radio radio-gender default:1 "Male" "Female"]
Thank you .