Skip to main content
7-Bedrock
Nov 30, 2023 7:04 AM UTC
Solved

How to apply custom css on disabled checkbox color

How to apply custom css on disabled checkbox color

AC_10460579_0-1701327620174.png

I am not able to change the grey checkbox color using custom css

VelkumarAnswer
19-Tanzanite
Dec 1, 2023 6:54 AM UTC

Hi @AC_10460579 

 

I tried in Thingworx 9.4 which is working.

Velkumar_3-1701413585168.png

 

 

Velkumar_1-1701413482515.png

 

Velkumar_4-1701413604774.png

Velkumar_5-1701413617433.png

 

May I know your Thingworx version and how you are trying to implement it 

 

If you want that actual box to be some other color use the below code

ptcs-checkbox[disabled]::part(box){
 color : red;
}

Velkumar_6-1701413847512.png

 

/VR

4 replies

19-Tanzanite
Nov 30, 2023 8:50 AM UTC

Hi @AC_10460579 

 

Try below code

ptcs-checkbox[disabled]::part(label){
 color : red;
}

 

/VR

Translate
7-Bedrock
Nov 30, 2023 10:37 AM UTC

Not working

 

Translate
19-Tanzanite
Nov 30, 2023 12:05 PM UTC

Hi @AC_10460579 

 

Could you please upload some screenshot

 

/VR

Translate