Radio buttons not aligned

Someone made this website a while ago and he just handed it over to me. I am fairly clueless when it comes to Woocommerce since I’ve never managed an online store before.
Everything is aligned completely fine other than the checkout radio buttons
I’ve been having this issue for a while now and I have no idea how to fix it. I tried editing the CSS, I looked everywhere, please help!
here’s a screenshot:
https://imgur.com/a/Ba6e0Xz

Posted Jan 26, 2020, 12:29 AM UTC

28
WhiteHatWarrior•

What is the url for the website?

1
not_too_basicOP•

https://majesticbaby.ro/checkout/ you need to add some items in the cart tho so you can go to the checkout page

1
opus-thirteen•

They are doing something like this: https://codepen.io/AngelaVelasquez/pen/Eypnq

but the position of the element isn't defined correctly.

Need a link

1
not_too_basicOP•

https://majesticbaby.ro/checkout/ you need to add some items in the cart tho so you can go to the checkout page

1
opus-thirteen•

Ah, I see what they did --they are inserting content into a psuedo element :before when the radio is selected... but something is competing with the layout.

All you need is this: https://imgur.com/a/Eqo1BM6

in your child theme just having this should resolve it

.woocommerce-checkout .scheme_default input[type="radio"] + label:before,
.woocommerce-checkout .scheme_default input[type="checkbox"] + label:before {
    padding: 1px 0 0 1px;
    width: 23px;
}
1
not_too_basicOP•

.woocommerce-checkout .scheme_default input[type="radio"] + label:before,
.woocommerce-checkout .scheme_default input[type="checkbox"] + label:before {
padding: 1px 0 0 1px;
width: 23px;
}

OMG thank you so much! you're a life saver!!

1
WhiteHatWarrior•

Viewing the website using chrome and facebook shows the radio buttons aligned fine. What browser are you using?

1
[deleted]•

[removed]

1