I am very new to site building, I’ve dabbled in adding some CSS successfully (Radio buttons) but I’m struggling to get the form to align and remove the previous button.
I’d like the text radio buttons and next button to centre align, and I’ve tried to use the code I found online to remove the previous but it just doesn’t seem to work no matter where I put it.
To center your field label, input fields, and next button, as well as hide the previous button, please use the following CSS code in the child theme’s style.css file or in Appearance → Customize → Additional CSS.
#gform_1 .ginput_container_radio {
text-align: center !important;
}
#gform_1 .gform_page_footer {
justify-content: center !important;
}
#gform_1 .gform_previous_button {
display: none !important;
}
#gform_1 fieldset.gfield {
text-align: center !important;
}
Thanks you again, I don’t suppose you have any advice on how to make the form look better on mobile, it’s still not aligned correctly, it looks great on desktop though.