p-table paginator styling

UI Components for Angular
Post Reply
iamnajmi
Posts: 8
Joined: 15 Jan 2019, 20:46

15 Jan 2019, 20:52

How can I style the p-table paginator active page background color? when i use the ui-paginator-page class, it styles all the page background colors. I want only the current selected page

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

16 Jan 2019, 09:33

You can try

Code: Select all

.ui-paginator-pages .ui-state-active {
background-color:red;
}

iamnajmi
Posts: 8
Joined: 15 Jan 2019, 20:46

17 Jan 2019, 14:27

Many thanks.. It works

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

18 Jan 2019, 16:15

Glad to hear!

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests