Contact Form 7
[resolved] Center contact form on page (3 posts)

  1. claw54@gmail.com
    Posted 2 years ago #


    How would one center the form on a page?

    Thanks in advance


  2. Stonenote
    Posted 2 years ago #

    You need to enclose your contact form in <div></div> tags on the contact form page. Easiest to do it there. Unless you are using the form in several places with varying widths.

    <div style="width: 400px; margin: 0px auto">
    (enter your form here)

    The width in the above can be any size but you have to make sure it fits in your page or post width. If you don't know, then use percentages and it will be more fluid - width: 80%. This is all simple coding... have fun with it!

  3. claw54@gmail.com
    Posted 2 years ago #

    Great 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