I am looking to customize the background color of ngx-pagination
Here is my current code:
<pagination-controls class="custom-pagination" id="indicadorPaginationResults" (pageChange)="p=$event" maxSize="9" directionLinks="true" autoHide="true" previousLabel="" nextLabel=""></pagination-controls>
The default background color is blue, but I want to change it to red.
How can I achieve this?
Here is the Solution:
You will need to update the CSS as follows:
.custom-pagination /deep/ .ngx-pagination .current {background: red;}
Additionally, make sure to have jQuery installed in your project.