zzangs33
zzangs33

Reputation: 307

How to change Angular-UI Bootstrap Datepicker popup's style using CSS?

I'm using ui-bootstrap-tpls-2.5.0.min.js. I changed dropdown-menu's backgorund color like this in specific html.

.dropdown-menu {
   background-color: transparent;
   box-shadow: none;
}

But it makes datepicker's background transparent too. I know why it happened, so I cleared that line but nothing changed.

So I want to change datepicker popup's background using CSS selector like this,

.datepicker .ul{
    background-color: white;
}
//this is an example code.

what selector do I have to choose to change datepicker's background?

this is present situation

Upvotes: 2

Views: 1829

Answers (1)

Dimple
Dimple

Reputation: 178

enter image description here

If this is what you require, you need to add these two styles that are highlighted.

Happy coding :)

Upvotes: 2

Related Questions