Contact Form 7
[resolved] Reduce the width of Captcha entry field (5 posts)

  1. OC2PS
    Posted 3 years ago #

    The Captcha field seems too wide. How can I reduce the width?

    A larger question from that - how can I change width of text fields?


  2. Takayuki Miyoshi
    Plugin Author

    Posted 3 years ago #


    Set size option like [captchar your-captcha 40/100] or set style in your theme's CSS stylesheet.

  3. Blue Devil
    Posted 3 years ago #

    I felt the message area on my contact form was too small. I went to the link as provided by Takayuki and figured out how to do it from there.

    It was a little confusing, as the "max length" refers to what I would call the height of the text/message box. So basically, you decide the size (overall area) that you want the box to be as well as the maximum height of the box. So, for example, if you want the box to have an area of 100... if your max length input is 10, you will have a more horizontally large box than if your max length input is 15. At 15, the area will stretch down toward the bottom of the screen, and at 10, the box will stretch out horizontally towards the right of the screen.

    After logging into WordPress, I was able to change the text box by going to the "Contact" sidebar and using this text, within the "Form" section, to create the message text sidebar at the size that I felt looked good for my page:

    <p>Your Message
    [textarea your-message size 100/8]</p>

    Again, the "100 represents the overall area of the box, and the "8" represents the distance of the box left to right.

    Hope this helps!

  4. OC2PS
    Posted 3 years ago #

    That's most helpful, Blue Devil. Thanks!

  5. cfm168
    Posted 3 years ago #

    Im slow. Need help.
    Which file can I set [captchar your-captcha 40/100]?
    Which file can I edit the height of the text/message box ?


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