How to center the Contact Form 7 submit button

This is a very common question of WordPress users: how to centralize the contact form 7 submit button?

It’s easier than you think. I’ll show below.

How to center the Contact Form 7 submit button

To do this is very simple. You just need to create your contact form the way you want it, and add the following code in your CSS editor or theme editor:

input.wpcf7-form-control.wpcf7-submit {
display: block;
margin: 0 auto;
}

Ready, the result will be this:

How to center the Contact Form 7 submit button

I hope that you enjoyed.

If you like, leave your comment.

Share:
Share on facebook
Facebook
Share on whatsapp
WhatsApp
Share on email
Email
Share on linkedin
LinkedIn

Leave a Reply

Newsletter

Wordpress Developer
Eduardo Villão

​WordPress developer with over 10 years of experience. I work in partnership with agencies and companies in the United States, Portugal, Spain, Italy and Brazil.

Close Menu