WordPress.org

Forums

WP-Paginate
wp-paginate in style sheet (3 posts)

  1. kekearif
    Member
    Posted 4 years ago #

    hey, was wondering if it's possible to style wp_pagiante in the stylesheet.

    I want the nav in my header, so I insert this code:

    <?php if(function_exists('wp_paginate')) {
        wp_paginate();
    } ?>

    wp_paginate appears fine and works. Now I want to move it by using margin in the style sheet.

    I changed the code to this:

    <?php if ( function_exists('wp_paginate') ) {
    	wp_paginate('<p id="stylepaginate">','</p>');
    } ?>

    then put this in the stylesheet

    #stylepaginate {
    margin:-70px 0 44px;
    }

    It doesn't do anything though! Am I missing something?

    Thank you!

    Keke

  2. Eric Martin
    Member
    Plugin Author

    Posted 4 years ago #

    The easiest way to do that would be to just add that markup in the Advanced Settings.

    Before Markup: <p id="stylepaginate">
    After Markup: </p>

    -Eric

  3. kekearif
    Member
    Posted 4 years ago #

    cool that worked, thx mate!

    Keke

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Paginate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic