Hello, Salmi,
https://prnt.sc/xQDI83XChTIk
Please change the previous custom code to:
#payment .payment_methods li {
background: #ffffff;
border: 1px solid #e1e1e1;
padding-left: 15px;
padding-right: 15px;
position: relative;
}
#payment .payment_methods li:has(input[checked]) {
border-color: red;
background: #f4f4f4;
}
#payment .payment_methods {
border: 1px solid #e1e1e1;
border-radius: 15px;
margin-left: -2em;
margin-right: -2em;
border-left: none;
border-right: none;
}
#payment .payment_methods li:first-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
#payment .payment_methods li:last-child {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
margin-bottom: 0;
}
#payment .payment_methods input[type=radio] {
position: absolute;
top: 17px;
vertical-align: middle;
}
#payment .payment_methods label {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
max-width: calc(100% - 40px);
margin-inline-start: 30px;
}
ul.payment_methods label[for*=payment_method_stripe]:after {
display: none;
}
#payment li label:after {
display: none;
}
or https://prnt.sc/eVRXxtKXhRf8
#payment .payment_methods li {
background: #ffffff;
border: 1px solid #e1e1e1;
padding-left: 15px;
padding-right: 15px;
position: relative;
border-left: none;
border-right: none;
}
#payment .payment_methods li:has(input[checked]) {
border-color: red;
background: #f4f4f4;
}
#payment .payment_methods {
border: 1px solid #e1e1e1;
margin-left: -2em;
margin-right: -2em;
border-left: none;
border-right: none;
}
#payment .payment_methods li:first-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
#payment .payment_methods li:last-child {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
margin-bottom: 0;
}
#payment .payment_methods input[type=radio] {
position: absolute;
top: 17px;
vertical-align: middle;
}
#payment .payment_methods label {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
max-width: calc(100% - 40px);
margin-inline-start: 30px;
}
ul.payment_methods label[for*=payment_method_stripe]:after {
display: none;
}
#payment li label:after {
display: none;
}
Kind Regards,
8theme team