Reply 326288 to: Stripe checkout fields are right-aligned in my theme.

Avatar: Niddy
Niddy
Participant
June 18, 2022 at 16:26

@zaua

I’m not 8theme support but have spent days on Stripe so just wanted to wish you good luck with the Stripe layout!

It comes messy if you use the Woocommerce Stripe Plugin (remember the cards are no longer visible) so you need to add functions to child theme etc to get it right.

You have the main checkout page to tidy-up / customise – here is the one we have just done for our client -> https://i.ibb.co/9wbQrty/str-chk.png

Then you have to sort the My Account -> Payment Methods -> Add New Card layout which means using a lot of ::before / ::after pseudo-elements to get it right without editing templates – here is our completed layout on the add new card page -> https://i.ibb.co/KbJVC39/str-act.png

Just replying cos I found very little help out there and I ended up writing loads of functions and recreating the layout using css overrides to get it to look right!

Good luck, if you need help to get the cards to show then give me a shout and I’ll post the function for you.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.