WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
How do I change the width of the form in the side bar? (5 posts)

  1. MisterGeorge
    Member
    Posted 3 years ago #

    I have a form as a widget in the sidebar.

    How can I change the width of the textarea and inputs?

    They are currently set to 40 and this is too wide for my sidebar.

    Thanks,

    George

    http://wordpress.org/extend/plugins/contact-form-7/

  2. lpearson
    Member
    Posted 3 years ago #

    Go to plugins/Contact Form 7/modules/text.php

    about line 66, change this:

    else
      $atts .= ' size="40"'; // default size

    to this:

    else
      $atts .= ' size="32"'; // default size

    I changed mine to 32 to work in my side bar, but you can play around with different numbers to see what works best in yours.

  3. MisterGeorge
    Member
    Posted 3 years ago #

    That worked just great.

    Thank you very much!

    George

  4. liezmaya
    Member
    Posted 2 years ago #

    Its not working for my theme "arthemia"...still too wide for select/ drop down, help me please :(

  5. kato
    Member
    Posted 2 years ago #

    Liez - for your dropdown, you probably want to edit select.php instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic