Forums

Nextpage - increase font size (7 posts)

  1. bellastraniera
    Member
    Posted 6 months ago #

    Does anyone know how to increase the font size of the "Pages 1 2 3 4" page-link tag?

    These instructions say how to change the text and various other things
    http://codex.wordpress.org/Styling_Page-Links

    but there are no instructions on font. I want to make the font twice as large and align it to the right.

  2. esmi
    Member
    Posted 6 months ago #

    A link to your site would help...

  3. bellastraniera
    Member
    Posted 6 months ago #

    Sorry - thought that appeared automatically:

    http://www.gastrochic.com

    specific post with this issue:

    http://www.gastrochic.com/2009/fashion/street-chic-union-square-greenmarket/#more-1132

    How do I make the page numbers 2x as big and aligned to the right?

  4. esmi
    Member
    Posted 6 months ago #

    Ah - short answer is - you can't. At least not without editing your theme's single.php file first.

    Open that file, look for <?php wp_link_pages();?> and amend it to <?php wp_link_pages('before=<p class="page-links">&amp;after=</p>');?>.

    Then add:

    p.page-links {font-size:200%;text-align:right;}

    to the bottom of style.css.

  5. bellastraniera
    Member
    Posted 6 months ago #

    Thank you - it worked!

  6. bellastraniera
    Member
    Posted 6 months ago #

    Actually... more complicated question. How do I get the pagination to read:

    1 2 3 4 5 Next

    [next page]
    Previous 2 3 4 5 6 Next

    so that there's a limit of 5 values, and a "previous" and "next" link? Now I can figure out how to change the appearance but not the values!

    Here's an example of that type of pagination from another site:
    http://eater.com/archives/categories/status_open.php?page=2

  7. esmi
    Member
    Posted 6 months ago #

    From what I recall, you're currently using a page navigation plugin, so the best place to look would be the settings/configuration page for that plugin.

Reply

You must log in to post.

About this Topic