Niko
  • Administrator

      Reputation : 319
      Registered on : 2012-02-22
      Posts : 2366
      School of codes courses: coming soon
    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
    Change number of first/last pages 2012-05-2441

    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.



    Niko wants you in the team Guest

    Community manager and Administrator at Forumattivo.com

    Nick
    • Manager

        Reputation : 20
        Registered on : 2012-04-01
        Posts : 407
      Very useful!



      Change number of first/last pages 15px10