I am using ngx-pagination
in Angular 16
application and I want to customize the default blue color into another , Can anyone help me.
Html code:
<div>
<pagination-controls (pageChange)="getPagedItems($event)"></pagination-controls>
</div>
CSS
.ngx-pagination .current{
color: #ffffff !important;
background-color: red !important;
}
Tried with above and similar css, it do not works.
Any help will be appreciated.
2
Answers
It worked after below changes.
HTML
CSS
Try these changes ,
If it is not working means , I want to Inspect your line of code further more