Change number of first/last pages
Description
Change the number of the last page to text
Set up
You could add to it with a long CSS selector lol.
This would be better than replacing it with Javascript.
- Code:
.pagination > span .page-sep:last-of-type + a:after {
content: ': Last Page';
}
and you can also do it with the first page :D
- Code:
.pagination > span .page-sep:first-of-type + a:after {
content: ': First Page';
}
Customize the tutorial
You can change First Page or First Page with your own content!
Demonstration
Change [39] to Last Page

Technical problems
![]() | The tutorial was tested on this forum and with the browser Google Chrome; If you notice that the tutorial doesn't work for a browser or for a version of forum (PhpBB2, PhpBB3, PunBB, Invision) contact an administrator and we will fill this field with your reporting. Thanks, the staff |
![]() | For every problem or question please, contact us in the section Support for the tutorials, The staff will answer you as soon as it is possible... |
Friendly,
The team of the Forum of Codes.