Tagged: square
Hi there!
The input field for the credit card number, expiry date and the security code on my checkout page is too large on mobile. Customers are struggling to enter their information?
I’m having a hard time targeting that field for mobile, can you help me make it user friendly on mobile?
Hey BrendaSarg,
Best regards,
Victoria
That didn’t really help me at all? Can you help with HOW I can edit the external iframe? Or override the css for those fields or anything?
I did some more research. It is definitely theme related. I also confirmed that with Square and WooCommerce
When I put storefront theme (or any other one!) , it’s not an issue?
I also deactivated all plugins and tested one by one. Not a conflict there.
This is a critical issue for me as it’s a holiday season and people are not completing the sale on mobile.They are leaving because they can’t see all their credit card entered.
Hi BrendaSarg,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) {
.wc-square-credit-card-new-payment-method-form.js-wc-square-credit-card-new-payment-method-form {
width: 80vw;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
I implemented this code and it made the credit card field long enough to enter the full number but it is right aligned and hanging out of the box.
eddiescleanhands.com/checkout