WordPress.org

Support

Support » Plugins and Hacks » How to adjust form placement?

How to adjust form placement?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Bodhipaksa
    Member

    @haecceity

    It’s hard to say what’s best without seeing your site (and I’m not going to install the plugin one my site just to see what it looks like), but one solution would be to put the form in a div with a fixed width and set the left and right margins to auto (thus centering the div).

    use &nbsp code. i hvnt seen ur form but it must be having name, email boxes. just put this code next to “Name” etc. u’ll hv to put it many times to get the form at center.

    OMG no. Please do not put   all over the place. We gave that up in 1995.

    rolldeep
    Member

    @rolldeep

    None of what you mentioned worked, here is the part I think I need to edit.

    /* Declare strings that change depending on input. This also resets them so errors clear on resubmission. */
    $wpcf_strings = array(
    	'name' => '<div class="contactright"><input  class="textfield" type="text" name="wpcf_your_name" id="wpcf_your_name" size="30" maxlength="50" value="' . $_POST['wpcf_your_name'] . '" /></div>',
    	'email' => '<div class="contactright"><input  class="textfield" type="text" name="wpcf_email" id="wpcf_email" size="30" maxlength="50" value="' . $_POST['wpcf_email'] . '" /></div>',
    	'msg' => '<br/><textarea  class="textfield" name="wpcf_msg" id="wpcf_msg" cols="35" rows="8" >' . $_POST['wpcf_msg'] . '</textarea>',
    	'error' => '');
    Bodhipaksa
    Member

    @haecceity

    First, what does it mean that something didn’t work? We don’t know what you did and what the results are.

    Second, is your site some kind of secret? It would be really handy to see the page and your stylesheet.

    Third, failing that, what are the specifications in your stylesheet for the divs listed above? Have you tried changing them? What were the results?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to adjust form placement?’ is closed to new replies.