You are viewing limited content. For full access, please sign in.

Question

Question

style radio button in modern designer

asked on December 17, 2025

I'm looking to change the look of a radio button field when it is checked.

I want the text to be white when the choice is selected.  I don't care which choice, just want the text to be white so that it is legible. 

 

I've got this:

.radio input:checked + label {
    background: maroon;
   color: white !important;
    }

as my css, but the font color doesn't change.

 

Works in classic designer

 

0 0

Replies

replied on December 17, 2025 Show version history

Try this:

.radio input:checked + .option-label span {
  color: white; 
  background: maroon;
}

 

5 0
You are not allowed to follow up in this post.

Sign in to reply to this post.