Can we able to change the colour of pagination button (next, prev next , prev etc..) ?
Regards,
Ramesh.
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 11 Mar 2019, 09:26 AM
Hi Ramesh,
From the attached image I can see that you are using the Grid in Classic rendering. The pagination buttons in this mode are rendered via icons(background images), so you will need to create and set a custom icon for each button in order to change its color. For example, the first page button's icon can be changed with the following style:
.RadGrid input.rgPageFirst {
background-image: url(customIcon.png);
background-position: 0;
}
If you decide to switch to Lightweight rendering, where the buttons are rendered via font icons, you can change only the background color of the buttons keeping the icons like follows:
Once you know the styles you need to override, you can use the same style selector and add "html body " in front of it to make it more specific, "stronger". More on CSS specificity you can find here:
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.