Title: Center form
Last modified: August 22, 2016

---

# Center form

 *  Resolved [montymcmahon](https://wordpress.org/support/users/montymcmahon/)
 * (@montymcmahon)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/center-form/)
 * How would I go about centering one of these forms on a page?
 * [https://wordpress.org/plugins/contact-bank/](https://wordpress.org/plugins/contact-bank/)

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

 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/center-form/#post-5812375)
 * Hi,
 * Thank you for contacting us!
 * In order to solve your issue, kindly replace some code on line no :- 277 in contact_bank_form.
   php file.
 * To locate the file kindly follow the path which is mentioned below:
 * `contact-bank => frontend_views => contact_bank_forms.php`
 * `After that replace the code <div> to <div style="margin-left:50%;">`
 * This will make your Contact form center aligned.
 * If you still facing problem then let us know.
 * Thanks & Regards
 * **Support Team
    Tech Banker
 *  Thread Starter [montymcmahon](https://wordpress.org/support/users/montymcmahon/)
 * (@montymcmahon)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/center-form/#post-5812382)
 * It appears that replacing the code as you suggested didn’t work. However, if 
   you wrap the same <div> code around the form code on the page itself, that appears
   to work.
 * I also went back to 25% because 50% starts the form in the middle of the page,
   which actually makes it reside on the right half of the page.

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

The topic ‘Center form’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-bank_f07427.svg)
 * [Contact Bank - Contact Form Builder for WordPress](https://wordpress.org/plugins/contact-bank/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-bank/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-bank/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-bank/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-bank/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-bank/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [montymcmahon](https://wordpress.org/support/users/montymcmahon/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/center-form/#post-5812382)
 * Status: resolved