Con este código estilamos el css de contact form 7 para el theme de twenty seventeen, el usado actualmente por este website.
div.wpcf7 {
background: #f7f7f9;
border-radius: 32px;
padding: 22px !important;
width: 700px;
}
div.wpcf7 label {
width: 100%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
textarea
{
font-size: 16px;
background-color: #fff;
border: none;
color: #000;
width: 95%;
}
select.wpcf7-form-control.wpcf7-select {
padding: 0;
margin: 0;
border: 1px solid #ccc;
width: 95%;
border-radius: 0;
overflow: hidden;
background-color: #fff;
background: #fff;
position: relative;
}
select.wpcf7-form-control.wpcf7-select:after {
top: 50%;
left: 85%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(0, 0, 0, 0);
border-top-color: #000000;
border-width: 5px;
margin-top: -2px;
z-index: 100;
}
select.wpcf7-form-control.wpcf7-select select {
padding: 8px 1px;
width: 130%;
border: none;
box-shadow: none;
background-color: transparent;
background-image: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
select.wpcf7-form-control.wpcf7-select select:focus {
outline: none;
}
.wpcf7-form-control-wrap {
width: 95%;
}
.wpcf7 input[type="submit"] {
color: #ffffff;
font-size: 18px;
font-weight: 700;
background: #9ED9330;
padding: 15px 25px 15px 25px;
border: none;
border-radius: 5px;
width: auto;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
}
.wpcf7 input:hover[type="submit"] {
background: #494949;
transition: all 0.4s ease 0s;
}
.wpcf7 input:active[type="submit"] {
background: #000000;
}
.wpcf7 form {
margin-left: 25px;
margin-right: 25px;
margin-top: 25px;
}