jonoces
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Stripe Payment Element font size issueThanks @lovingbro that wasn’t the solution, but your suggestions to check the plugins was a good one. Turning off ACF has solved it, which is weird. I’m waiting for the client to send me their license key for ACF so I can reactivate it and debug it. I’ll update here once that happens
Forum: Plugins
In reply to: [WooCommerce] Stripe Payment Element font size issueFurther update – commenting out all links to any css files in the theme functions file and the site loses all styling but the iframe input is still setting the font size to 42.88px.
The site is here: https://jonathanl364.sg-host.com/shop/
if you put something in your cart and progress to checkout you’ll see the issueForum: Plugins
In reply to: [WooCommerce] Stripe Payment Element font size issueThe function change doesn’t seem to be pulling through to the site. When I inspect the input in the iframe I can see this style:
.Input, .p-FauxInput {
font-size: 42.88px;
}The .p-Input parent element inherits this style from the ‘elements-inner-payment-413c1ee8f374a037fe3cf11a35dfedc0.css’ stylesheet:
html {
font-size: var(–fontSizeBase);
}
The –fontSizeBase can’t be clicked but hovering over it reveals it to be 37.52px. I’ve set the variable to 1rem in my style sheet with an !important declaration but that doesn’t override the variable in the iframe, only for the rest of my site.Forum: Plugins
In reply to: [WooCommerce] Stripe Payment Element font size issueThanks @lovingbro the functions code has solved the problem, thanks for your help!
EDIT, cancel that, it hasn’t solved it, it’s still the same!
- This reply was modified 11 months, 3 weeks ago by jonoces.
OK here’s the draft site: https://jonathanl243.sg-host.com/wapping-wharf/
It’s on a local host dev site at the moment, but I could put the draft site up on a temporary url if it’s necessary?
Did you find a solution to this Tony? I’m having the same issue