How to change the background color of dcc.DatePickerRange()

Hello guys!
I managed to change the background-color of the DateInput_input to black through .css.
However, I am not able to to find the className to change the background for the entire DateRangePicker bar.
As shown in the picture, the color of the bar is white by default. Really appreciate if someone can help on this problem.
Thank you for your time !


The predefined class by Plotly is ā€˜DateRangePickerInputā€™ for the date range block. If you set a background color in that class in your css file, it should change the background color.

You can also define the border color in this class as well.


1 Like

Thanks Bro ! It works for me ! Appreciate your help ! :+1: :+1:

1 Like