Title: Submit button &#8211; Change colour
Last modified: December 18, 2019

---

# Submit button – Change colour

 *  Resolved [xdwt](https://wordpress.org/support/users/xdwt/)
 * (@xdwt)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/)
 * Hi guys,
 * Do you know how I can change the colour of the ‘Submit’ button at the bottom 
   of the registration form,
 * For bonus points, i’m also looking to change the ‘Submit’ button to the middle
   of the page,
 * I currently have this in the CSS, However I don’t want it aligned left! .ur-frontend-
   form .ur-button-container .ur-submit-button {
    margin-left: initial;

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

 *  [Deepak Sharma](https://wordpress.org/support/users/sharmadpk03/)
 * (@sharmadpk03)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/#post-12253035)
 * Hi [@xdwt](https://wordpress.org/support/users/xdwt/),
 * To change the color of the submit button, please add the following CSS code(it
   will change the color of both, submit and login button):
 *     ```
       .ur-frontend-form button, .ur-frontend-form button[type=submit], .ur-frontend-form input[type=submit] {
           background: gray;
       }
       ```
   
 * To position the submit button in the center of the form then please add the CSS
   code:
 *     ```
       .ur-frontend-form .register .ur-button-container .ur-submit-button {
           margin: 0 auto;
       }
       ```
   
 * Let me know if it helps or not and I will get back to you.
 * Regards!
 *  Thread Starter [xdwt](https://wordpress.org/support/users/xdwt/)
 * (@xdwt)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/#post-12253511)
 * Hi [@sharmadpk03](https://wordpress.org/support/users/sharmadpk03/)!
 * This has worked perfectly, thank you!!
    -  This reply was modified 6 years, 5 months ago by [xdwt](https://wordpress.org/support/users/xdwt/).
 *  [Deepak Sharma](https://wordpress.org/support/users/sharmadpk03/)
 * (@sharmadpk03)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/#post-12253556)
 * Hi [@xdwt](https://wordpress.org/support/users/xdwt/),
 * Glad to know that the issue is resolved. ​If you have a moment to spare then 
   we would really appreciate your review for our plugin. Please click on this link
   [https://wordpress.org/support/plugin/user-registration/reviews/](https://wordpress.org/support/plugin/user-registration/reviews/)
   and share your thoughts about our team and our plugin. We would love to hear 
   from you.
    ​ Thanks in advance. Have a great day. 🙂
 * Regards!
 *  [rxtarcher](https://wordpress.org/support/users/rxtarcher/)
 * (@rxtarcher)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/#post-12284983)
 * Hello and a Happy New Year!
 * I also want to change the color of both the “Submit” button in Registration Form
   and of “Log in” in Log in Form.
 * Could you please give me some more details on where exactly should I paste the
   code that you gave us in your previous post?
 * I am already in “httpdocs / wp-content / plugins / user-registration / templates/
   form-registration.php” but dont know if I have to paste it on this file and where
   exactly to paste it.
 * Thank you

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

The topic ‘Submit button – Change colour’ is closed to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [rxtarcher](https://wordpress.org/support/users/rxtarcher/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/submit-button-change-colour/#post-12284983)
 * Status: resolved