Hi guys
I have a strange bug on 2 of my Enfold sites. The credit card field (using Square) only lets you enter 6 numbers when using a mobile phone. This is occurring on two of my sites, both running Enfold with WooCommerce. I’ve attached a screen shot for reference: https://imgur.com/a/cnM4HCc
Is there a quick CSS I can enter to remedy this?
Thank you!
Jon
Hi guys – just following up on this – any idea what could be a solution?
Thanks,
Jon
Hi Jon,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
#payment div.payment_box {
width: 100%;
padding: 0;
}
#wc-square-credit-card-credit-card-form .form-row {
width: 100%;
}
}
Best regards,
Rikard
Thanks Rikard – unfortunately it’s still not working. Here is a screenshot: https://imgur.com/a/rnsqcVC
Let me know if there’s any other another solution.
Thanks
Jon
Hi Jon,
Please try this instead:
@media only screen and (max-width: 767px) {
#payment div.payment_box {
width: 100% !important;
padding: 0 !important;
}
#wc-square-credit-card-credit-card-form .form-row {
width: 100%;
}
}
Best regards,
Rikard
Hi Rikard
Thanks – it’s better – but still not allowing me to see the full 16 digits. See screenshot here: https://imgur.com/a/WBULBZr
Appreciate your help on this…
Jon
Hi,
Please try this CSS as well:
@media only screen and (max-width: 767px) {
iframe#wc-square-credit-card-account-number-hosted input {
font-size: 1.1em !important;
}
}
Best regards,
Rikard
Hi Rikard
I’m still having issues. Would you like to login and take a look? I am experiencing this on both my Enfold sites. Here is a screenshot, the elements on the form seem to be all jumbled as well – https://imgur.com/a/BkCgmxA
Thanks,
Jon
Perfect – thank you Rikard!
Jon