How do I add "|" to views pager when you are displaying numbers. See the example below

previous 1 | 2 | 3 next

1 Answer 1


There are couple of options: 1. Using the view's tempate file 2. The easiest and my favorite in that case - using css :after selector to add the '|' to the li's

Hope that helps.

  • In would use css :after too. But in this situation it will not work. I will look at the tpl thanks
    – purencool
    Aug 19, 2013 at 6:06
  • Use the 'information' link on the view's display, it gives you all the template suggestions you'll need :)
    – rreiss
    Aug 19, 2013 at 8:04
  • Could you please expand your answer to include info on how to do it using the view's template file?
    – Mołot
    Aug 19, 2013 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.