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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How to apply custom css on disabled checkbox color

AC_10460579
7-Bedrock

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

ACCEPTED SOLUTION

Accepted Solutions
Velkumar
19-Tanzanite
(To:AC_10460579)

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

View solution in original post

4 REPLIES 4
Velkumar
19-Tanzanite
(To:AC_10460579)

Hi @AC_10460579 

 

Try below code

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

 

/VR

Not working

 

Velkumar
19-Tanzanite
(To:AC_10460579)

Hi @AC_10460579 

 

Could you please upload some screenshot

 

/VR

Velkumar
19-Tanzanite
(To:AC_10460579)

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

Announcements


Top Tags