Title: Centering WPForms
Last modified: May 29, 2017

---

# Centering WPForms

 *  Resolved [gregmini](https://wordpress.org/support/users/gregmini/)
 * (@gregmini)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/centering-wpforms/)
 * Hello,
 * I’m having problems centering my name fields on the center of my page. I already
   set the width to 100% and used auto on the margin, which took care of the email
   field. However the two name fields won’t move over no matter what I do. Any help
   is much appreciated! Here is the page that is having problems. There might be
   red borders as I am currently trying to fix the situation. [https://websiteswizard.com/contact-us/](https://websiteswizard.com/contact-us/)
 * Best,
    Greg Minassian

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/centering-wpforms/#post-9177389)
 * This CSS seems to fix it and line up the fields with the email field.
 *     ```
       div.wpforms-container-full .wpforms-form .wpforms-field .wpforms-field-row:last-of-type {
           margin-bottom: 0;
           width: 61%;
           margin: 0 auto;
       }
       ```
   
 * **To add CSS:**
    - If you are using WordPress 4.7, use the “Additional CSS” option in the customizer.
    - If your theme has a custom CSS option, use that to add the CSS shown above.
    - If not, install the plugin [Simple Custom CSS](https://wordpress.org/plugins/simple-custom-css/).
 * Learn to use the [Chrome Developer Tools](https://developers.google.com/web/tools/chrome-devtools/)
   to help you see and test changes to your CSS.
    -  This reply was modified 8 years, 11 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [gregmini](https://wordpress.org/support/users/gregmini/)
 * (@gregmini)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/centering-wpforms/#post-9177448)
 * Thank you so much for the help! How did you get to the width of 61%? Everything
   works great from my point.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/centering-wpforms/#post-9177467)
 * > How did you get to the width of 61%?
 * Empirically — it just worked there.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Centering WPForms’ is closed to new replies.

## Tags

 * [center](https://wordpress.org/support/topic-tag/center/)
 * [forms](https://wordpress.org/support/topic-tag/forms/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/centering-wpforms/#post-9177467)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
