Page 1 of 1

Line by line radio buttons?

PostPosted: July 1st, 2011, 3:52 pm
by maryr
Screen shot 2011-07-01 at 11.51.19 AM.png
Screen shot 2011-07-01 at 11.51.19 AM.png (25.6 KiB) Viewed 73 times


How can I make my radio button optons align one on top of the next? Right now, they are in paragraph form. Thanks!

example
• WHOLESALE MEMBERSHIP $250 • WHOLESALE MEMBERSHIP $400 • RETAIL MEMBERSHIP $50 • RETAIL MEMBERSHIP $125 • ASSOCIATE MEMBERSHIP $25

i'd like them to be
• WHOLESALE MEMBERSHIP $250
• WHOLESALE MEMBERSHIP $400
• RETAIL MEMBERSHIP $50
• RETAIL MEMBERSHIP $125
• ASSOCIATE MEMBERSHIP $25

this is my code within the custom registration fields:
$250|WHOLESALE MEMBERSHIP $250
$400|WHOLESALE MEMBERSHIP $400
$50|RETAIL MEMBERSHIP $50
$125|RETAIL MEMBERSHIP $125
$25|ASSOCIATE MEMBERSHIP $25

Re: Line by line radio buttons?

PostPosted: July 2nd, 2011, 1:49 am
by Cristián Lávaque
Hi Mary. I'll email Jason asking him how this could be done.

Re: Line by line radio buttons?

PostPosted: July 2nd, 2011, 2:03 pm
by Jason Caldwell
What you'd like requires CSS modifications inside the style.css file for your WordPress theme. If you will please post a link to your form, we'll take a quick look inside Firebug and offer you assistance with this.

Re: Line by line radio buttons?

PostPosted: July 2nd, 2011, 2:51 pm
by maryr
thank you!

Re: Line by line radio buttons?

PostPosted: July 2nd, 2011, 11:31 pm
by Jason Caldwell
I see. Thank you.

OK, let's try this.
Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
Code: Select all
<?php
add_action 
("login_head", "my_function");
function my_function ()
    {
        echo '<script type="text/javascript">';
        echo "jQuery(document).ready(function(){ jQuery('<br />').insertAfter('div#login form label.ws-plugin--s2member-custom-reg-field-op-l'); });";
        echo '</script>';
    }
?>

Re: Line by line radio buttons?

PostPosted: July 3rd, 2011, 6:33 am
by maryr
Screen shot 2011-07-03 at 7.30.12 AM.png
Screen shot 2011-07-03 at 7.30.12 AM.png (15.55 KiB) Viewed 50 times


that did it thanks! i should't need to do anything else (alter my form) do I? I'm not very versed in php. thanks again!! :D