cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Change the background of radio button upon selection

MC_10978167
4-Participant

Change the background of radio button upon selection

Hello, I'm trying to change the background of a radio button on selection to look like the below snapshot 

MC_10978167_0-1728634205555.png

I've tried using style properties but theirs not option to change the background under "selected" or "pressed and selected". Only under focus and base we have the option to change the background but I would like to change the background on the selection of the radio button.

I've also tried custom CSS .myCustomClass .widget-content:selected{background: #92ef83} but it doesn't seem to work. 

Any work around to achieve this would be very helpful, thanks.

 

ACCEPTED SOLUTION

Accepted Solutions

you mean like this (TWX 9.6.1)?

nmutter_0-1728664875859.png

.myradio ptcs-radio[aria-checked="true"]{
  background-color: black;   
}

 

View solution in original post

1 REPLY 1

you mean like this (TWX 9.6.1)?

nmutter_0-1728664875859.png

.myradio ptcs-radio[aria-checked="true"]{
  background-color: black;   
}

 

Announcements


Top Tags