Hey there, I've encountered a little problem with my website. My website is built on Wordpress and uses Contact Form 7, which has been heavily customized with CSS. While it looks great on desktop, the email field appears too small on mobile devices. I'm hoping to adjust the width so that the email field takes up about 70% of the container, leaving the submit button at 30%. Can anyone lend their expertise in tweaking the CSS to achieve this? Thanks a bunch!
::-webkit-input-placeholder { /* WebKit browsers */
text-align: center;
text-transform: uppercase;
font-family: "Poppins", sans-serif;
font-size: 12px;
font-weight: 600;
opacity: 0.8;
color: #a21cea !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
text-align: center;
text-transform: uppercase;
font-family: "Poppins", sans-serif;
font-size: 12px;
font-weight: 600;
opacity: 0.8;
color: #a21cea !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
text-align: center;
text-transform: uppercase;
font-family: "Poppins", sans-serif;
font-size: 12px;
font-weight: 600;
color: #a21cea !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
text-align: center;
text-transform: uppercase;
font-family: "Poppins", sans-serif;
font-size: 12px;
font-weight: 600;
opacity: 0.8;
color: #a21cea !important;
}
.wpcf7-inline-wrapper .wpcf7-inline-field input:not([type="submit"]), .wpcf7-inline-wrapper .wpcf7-inline-field input::-webkit-input-placeholder {
color: #a21cea !important;
}
.wpcf7-inline-wrapper .wpcf7-inline-field input:not([type="submit"]), .wpcf7-inline-wrapper .wpcf7-inline-field input::-moz-placeholder {
color: #a21cea !important;
}
.wpcf7-inline-wrapper .wpcf7-inline-field input:not([type="submit"]), .wpcf7-inline-wrapper .wpcf7-inline-field input:-ms-input-placeholder {
color: #a21cea !important;
}
<!-- More CSS styles omitted for brevity -->