WordPress Contact Form 7 – How to Change Width

Contact Form 7 is one of the most popular WordPress plugins. Is it very simple to create forms with this plugin however many people battle to get the forms to fit into narrow columns such as widgets. This brief tutorial shows just how simple it is to reduce the width of forms created with Contact Form 7:

  1. Whilst logged in as an Admin user, click ‘Contact’ then ‘Edit’ then ‘Generate Tag’.
  2. In the ‘size’ field enter a value (for my WordPress theme 30 is a good fit to include the form as a Widget).
  3. Follow the rest of the instructions given by Contact Form 7 i.e. when it says ‘Copy this code and paste it into the form left’ then do just that.

Note that some tags don’t have the ‘size’ field so it is necessary to make similar adjustments. The ‘Text area’ tag for example requires that the ‘cols’ field be populated to reduce it’s size.