Hola amigos.
Le dejo el codigo de un formulario accesible usando DIVI + Contact Form 7 y un poco de CSS (poner el shortcode de contact form 7 en el modulo codigo).
/* =FORMULARIO
------------------------------------------------------- */
[response]
Tu nombre: (obligatorio)
[text* your-name id:your-name]
Tu correo electrónico (obligatorio)
[email* your-email id:your-email]
Tu Teléfono (obligatorio)
[tel* your-phone id:your-phone]
Tu ciudad (obligatorio)
[text* your-city id:your-city]
Fecha de llegada (obligatorio)
[date* date-in id:date-in]
Fecha de partida (obligatorio)
[date* date-out id:date-out]
Número de adultos (obligatorio)
[number* adults id:adults min:1]
Número de niños (obligatorio)
[number* children id:children min:0]
Tu Consulta (obligatorio)
[textarea* your-message id:your-message]
[recaptcha]
[submit class:et_pb_contact_submit class:et_pb_button "Enviar"]
/* =Estilos personalizados
------------------------------------------------------- */
.wpcf7 { width: 100%;
}
.wpcf7 fieldset {border: none;
}
.wpcf7 legend {
color: #955A33;
font-size: 24px;
font-weight: 700;
padding-bottom: 60px;
}
.wpcf7 label {
color: #333333;
font-size: 16px;
font-weight: 400;
padding-bottom: 30px;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-form select, .wpcf7 input[type=“email”], .wpcf7 input[type=“tel”], .wpcf7 input[type=“date”], .wpcf7 input[type=“number”] {
background-color: #eee !important;
border: 1px solid #2EA3F2 !important;
width: 100% !important;
-moz-border-radius: 5px !important;
-webkit-border-radius: 5px !important;
border-radius: 5px !important;
font-size: 1em;
color: #999 !important;
padding: 16px !important;
-moz-box-sizing: border-box !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box!important;
}
.wpcf7-submit {
color: #2EA3F2 !important;
margin: 8px auto 0 !important;
cursor: pointer !important;
font-size: 20px !important;
font-weight: 500 !important;
-moz-border-radius: 3px !important;
-webkit-border-radius: 3px !important;
border-radius: 3px !important;
padding: 6px 20px !important;
line-height: 1.7em !important;
background-color: #fff !important;
border: 2px solid !important;
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
-moz-transition: all 0.2s !important;
-webkit-transition: all 0.2s !important;
transition: all 0.2s !important;
}
.wpcf7-submit:hover {
background-color: #2EA3F2 !important;
border-color:#2EA3F2 !important;
padding: 6px 20px !important;
color: #fff !important;
}