Project:Pagination (Node)
Version:6.x-1.6
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,

This module is awesome.

However, I am kinda stuck with the theming part. I need to remove the "first" and "last" in the pager section, as well as changing the font color to blue or green. I've tried modifying the CSS under pager-item and pager class, but the font color is still black.

Can anyone help me with this please?

Thanks

Comments

#1

Hi there,

A lot of this will depend on the theme being used. But generally if you get as specific as possible you should be able to alter the style via CSS quite easily. To modify the colours, you may want to try something like:

li.pager-item { color: #0f0; } /* green! */

It's probably easier to just hide the first and last section as well via CSS:

li.pager-first, li.pager-last {display: none;}

Note that will affect all pagers in your Drupal install (ie, not just the pagination one). You may also want to look at something like Firebug for Firefox to take a look at what styles are coming from which stylesheet, to see which ones have more precedence than the ones you are declaring.

#2

Hi mundanity, thanks a lot for your reply.

I've tried to change the CSS with your code, but the font color remains unchanged.

After some time playing around, I finally figured out the solution:

.item-list .pager .pager-item a{
  color: #0f0;
}

.item-list .pager .pager-previous a{
  color: #0f0;
}

.item-list .pager .pager-next a{
  color: #0f0;
}

#3

Status:active» closed (fixed)
nobody click here