Styling pagination links?


#1

Hello,

How to style the pagination links ?
I simply try to set the number of the current page to another color. But
I have the “…” also colored.
Paginator have options to style ?

Thanks


#2

oo00oo wrote:

How to style the pagination links ?

Put the links within a div or whatever…

<%= pagination_links @var %>

you can then add css style for the div/links
or whtever you need to do in your stylesheet:

/* current page */
.pagination-links {
color: white
background-color: blue;
}

/* other pages */
.pagination-links a {
color: blue
}