Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hey Guys,
Can anyone tell me how to apply custom css to date picker widget to change the background color of the buttons inside the date container(Done & Today).
Please refer the attachment. I wanted to change the default color to red .
Thanks,
Jan
Solved! Go to Solution.
@JANAKIRAMAN_P : Please find attached entity for this . Basically you will have to inspect in chrome developer tools and find the element where CSS need to be applied. I have used the following CSS in the attached entity.
ptcs-datepicker-calendar::part(day){
color: red ;
}
@JANAKIRAMAN_P : Please find attached entity for this . Basically you will have to inspect in chrome developer tools and find the element where CSS need to be applied. I have used the following CSS in the attached entity.
ptcs-datepicker-calendar::part(day){
color: red ;
}