Posted: March 10, 2014 at 7:50 pm
|
We added a question to our event registration that requires several radio buttons. The buttons appear in a single-column vertical list. We would like the buttons to be in a two column vertical list. Where would we go to edit how the radio buttons display? |
Hello, I’m not sure I understand what you are trying to do. Are you trying to change how the radio buttons are aligned? Could you link to a page where I can see the radio buttons? — |
|
|
Yes – we are trying to change the alignment. Here is a link to a screenshot: Look at the “Company revenue” radio buttons and the “May we promote you” radio buttons. Instead of: button We would like: button button |
Is there a page link available? — |
|
|
Hello Lorenzo, I provided a link to a screenshot where you can see the page. Would prefer not to post a link to the Web site. |
Hello, Could you send the link to the following email: Thank you. — |
|
|
Thanks – I just sent the email with the subject “Radio button layout”. |
Thank you. I’ve responded with a solution. Please let me know if it helps. — |
|
|
Thank you, Lorenzo! We are able to insert the CSS directly – but we’re having trouble figuring out which file do we insert it into that controls the layout of the form fields/radio buttons? |
You can inspect an element on a page with a tool like Firebug or Chrome Developer Tools. It will tell you the file and line number for the styling that is in use. |
|
Hello again, I misread your last response. That styling was pulled from a core CSS file. I recommend adding it to a plugin like My Custom CSS so that your edits are not lost on a future software update. https://wordpress.org/plugins/my-custom-css/ Does that make sense? — |
|
|
Hi Lorenzo – thanks! We’re using a separate custom CSS file to ensure that our CSS changes aren’t lost with future updates! The fix worked for the radio buttons. We’re looking to do something similar with the fields. We’d like to have them listed next to each other instead of in a vertical list. What is the easiest way to do this? Here’s an example. Instead of: We’d like: |
Hi Maisha, That might get a little tricky because depending on your WP theme, you’ll need to set a width for the #event_espresso_registration_form container, then set the questions to take up about 50% of that width, then float the questions. There’s some example code in this guide you can try here: https://eventespresso.com/forums/2010/10/questions-in-two-columns/ |
|
The support post ‘Radio button layout’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.