.wpcf7-form-control-wrap input[type="email"] { width: 50%;}
display: block;
.mc4wp-form {text-align: center;}
.mc4wp-form { text-align: center; display: block; margin: 0 auto;}
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
This is not mailchimp input but contact form 7.
Use this CSS instead: With kind regards.
Now I need to centre it. I tired:
.wpcf7-form-control-wrap input[type="email"] {
width: 50%;
margin: 0 auto
}
But no luck.
display: block;
before you use margin method or add End of CSS lessons ;-)With kind regards.
I had already tried your suggestion but it just aligned the text centre and not the field.
So how do I centre align the field?
Thanks
display: block;
to input rule: With kind regards.