Forum: Ruby on Rails Styling pagination links ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
oo00oo (Guest)
on 2006-03-13 14:08
(Received via mailing list)

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 ?

bmgz (Guest)
on 2006-03-13 19:37
(Received via mailing list)
oo00oo wrote:
> How to style the pagination links ?

Put the links within a div or whatever..

<div class="pagination-links">
<%= 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
This topic is locked and can not be replied to.