Contact Form 7
[resolved] Problems adding the form directly in the Template (3 posts)

  1. further
    Posted 5 years ago #


    I've used Contact Form 7 in the past and everything worked fine, but now I'm having some problems.

    I'm trying to add and customize a form directly on the template, but for some unknown reason the textarea shows the original width no matter what parameters I add on the code ([textarea your-message 31x5]).

    On the other hand, when I send a mail, the AJAX works fine and shows the green (or yellow or red) border around the whole form, but this border is smaller than the form itself, making a weird effect.

    You can check what I mean by yourself here:


    Any thoughts?
    Maybe it has something to do with using the form directly on the template and not on a post or in the sidebar as a widget?

    Any help will be very much appreciated!



  2. stvwlf
    Posted 5 years ago #

    You can usually control the formatting of the elements of Contact Form 7 forms using CSS. Everything on the form is assigned a class name. Css will override things like the 31 x 5 text area. You set the width in pixels in CSS rather than number of lines

  3. further
    Posted 5 years ago #

    Stvwlf, if worked perfectly. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic