PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Center Align entire form

  1. Hi
    I have tried to figure out something as simple as centering this small form but nothing seems to work. I have searched high and low for a way to center it on the page.
    Any help would be appreciated!!

    http://goitd.com/form-test

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  2. David Peralty

    You would need to create custom css in your style.css file.

    First, give the DIV related to the form a width. Then do align: 0 auto; and then use text-align: center; between those three classes you should get what you want. Let me know if you are still having issues. I can ask one of our CSS experts to craft the exact code if you can't get it to work.

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  3. Thank you. I figured it out finally..
    body #gform_wrapper_3 .gform_body {align: 0 auto; text-align: center;}

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  4. David Peralty

    Glad you got it sorted. All my best!

    Posted 11 years ago on Tuesday June 4, 2013 | Permalink

This topic has been resolved and has been closed to new replies.