PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Change Paragraph height

  1. Is there a way to change the height of the paragraph box?

    I'd like to make it bigger, to give the idea that lots of info can be added into there.

    Posted 13 years ago on Friday April 29, 2011 | Permalink
  2. Yes, you can make it bigger using CSS. Target that HTML with CSS to make the height bigger. You would add custom CSS to your themes stylesheet to target the textarea for that field and increase it's size using the CSS height parameter.

    Posted 13 years ago on Friday April 29, 2011 | Permalink
  3. I did try that, but it just created a lrlarge gap below the text area.

    This is what I used for the CSS:

    .form_address {
        width: 300px;
    }
    Posted 13 years ago on Friday April 29, 2011 | Permalink
  4. You have to be more specific with how you style elements to insure they override any other styles in your theme stylesheet or the Gravity Forms styles.

    For instance try adding this to your themes stylesheet:

    body .gform_wrapper .gform_body .gform_fields .gfield textarea {width: 300px;}

    This would give ALL textareas on ALL your forms a width of 300px. If you only want to target a specific form you would do this:

    body #gform_wrapper_X .gform_body .gform_fields .gfield textarea {width: 300px;}

    You would replace the X in #gform_wrapper_X with the number/id of the form you want to target.

    Posted 13 years ago on Friday April 29, 2011 | Permalink