WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] State / Province / Region too large (4 posts)

  1. jjkeyport
    Member
    Posted 1 year ago #

    Hi Matthew,

    I'm trying to adjust the field size for the State / Province / Region.

    you can see at http://www.indiegospelalliance.com/exhibitors-application/ that the field is exceeding the form area.

    How can I correct this?

    Thanks,

    Jason

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    You need to customize the CSS to correct for conflicts within your theme.

  3. jjkeyport
    Member
    Posted 1 year ago #

    Thanks! I actually found the issue - It looks like the "span class" was set to right instead of left in the form-output.php. I changed it to left and it works perfectly.

    Thanks,
    Jason

    <span class="left">
    							<input type="text" name="vfb-' . $field->field_id . '[state]" id="' . $id_attr . '-state" maxlength="150" class="vfb-text vfb-small' . $required . $css . '" />
    							<label for="' . $id_attr . '-state">' . __( 'State / Province / Region', 'visual-form-builder' ) . '</label>
    						</span>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

  4. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    That is not the solution. The output in the plugin is correct, it's your theme's CSS that is causing the issues.

    Editing the code is not recommended because you will lose your changes when updating.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic