Hi Anjali,
add a radio buttons widget to your page, give it a custom class name (here: vertical-radios).
Then you can add styling to your main.scss like this:
.vertical-radios .mx-radiogroup {
flex-direction: column !important;
width: 100%;
> div {
margin: 5px !important;
padding: 5px;
background-color: #DFDFD9;
&:has(input[type=radio]:checked) {
border: 1px solid black;
}
&:not(:has(input[type=radio]:checked)) {
border: 1px solid transparent;
}
> label {
padding: 5px;
color: #fff;
width: 50%;
background-color: #880015;
}
}
}
The radio buttons then look like this:
Hope that helps!
Best,
Holger